Opened 10 years ago

Closed 10 years ago

Last modified 10 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 by Nicklas Nordborg, 10 years ago

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

Fixed for actions and taglibs related to menu items.

comment:2 by Nicklas Nordborg, 10 years ago

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

Fixed for actions and taglibs related to tab controls.

comment:3 by Nicklas Nordborg, 10 years ago

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

Fixed for actions and taglibs related to buttons and icons.

comment:4 by Nicklas Nordborg, 10 years ago

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

Fixed for other actions and taglibs.

comment:5 by Nicklas Nordborg, 10 years ago

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

main.js has been deleted.

comment:6 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: newclosed

comment:7 by Nicklas Nordborg, 10 years ago

(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.