Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#1813 closed enhancement (fixed)

Remove deprecated event handler methods from extensions

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.5
Component: web Version:
Keywords: Cc:

Description

Lots of extension points define properties such as 'onclick', etc. which point to a javascript snippet to be executed when the (click) action occurs. This style of programming has been discouraged since BASE 3.3 (see #1730).

I think it is time to make the final switch and remove support from the BASE core for inline event handlers. Extension developers should have plenty of time to fix their extensions.

Change History (7)

comment:1 Changed 6 years ago by Nicklas Nordborg

(In [6652]) References #1813: Remove deprecated event handler methods from extensions

Fixed for actions and taglibs related to menu items.

comment:2 Changed 6 years ago by Nicklas Nordborg

(In [6653]) References #1813: Remove deprecated event handler methods from extensions

Fixed for actions and taglibs related to tab controls.

comment:3 Changed 6 years ago by Nicklas Nordborg

(In [6654]) References #1813: Remove deprecated event handler methods from extensions

Fixed for actions and taglibs related to buttons and icons.

comment:4 Changed 6 years ago by Nicklas Nordborg

(In [6655]) References #1813: Remove deprecated event handler methods from extensions

Fixed for other actions and taglibs.

comment:5 Changed 6 years ago by Nicklas Nordborg

(In [6658]) References #1813: Remove deprecated event handler methods from extensions

main.js has been deleted.

comment:6 Changed 6 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

comment:7 Changed 6 years ago by Nicklas Nordborg

(In [6812]) References #1813: Remove deprecated event handler methods from extensions

Trying to remove code examples that use inline javascript event handlers.

Note: See TracTickets for help on using tickets.