Opened 11 years ago

Closed 11 years ago

#564 closed enhancement (fixed)

Update example extensions to new scripting pattern

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: Example code v1.6
Component: net.sf.basedb.examplecode Keywords:
Cc:

Description

The new scripting pattering is to avoid inline event handlers (http://base.thep.lu.se/ticket/1730) and in-page <script> sections (http://base.thep.lu.se/ticket/1729).

All JavaScript code should be in "static" *.js files. Data that the scripts need should be stored in data-* attributes on relevant elements in the HTML document.

Change History (5)

comment:1 by Nicklas Nordborg, 11 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 11 years ago

(In [2204]) References #564: Update example extensions to new scripting pattern

Fixed for the menu items and toolbar buttons.

comment:3 by Nicklas Nordborg, 11 years ago

(In [2205]) References #564: Update example extensions to new scripting pattern

All extensions and JSP files should have been fixed.

comment:4 by Nicklas Nordborg, 11 years ago

(In [2207]) References #564: Update example extensions to new scripting pattern

Added safe-scripts attribute to get rid of warning in BASE installation wizard.

comment:5 by Nicklas Nordborg, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.