Opened 6 years ago

Closed 6 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 Changed 6 years ago by Nicklas Nordborg

Status: newassigned

comment:2 Changed 6 years ago by Nicklas Nordborg

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

Fixed for the menu items and toolbar buttons.

comment:3 Changed 6 years ago by Nicklas Nordborg

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

All extensions and JSP files should have been fixed.

comment:4 Changed 6 years ago by Nicklas Nordborg

(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 Changed 6 years ago by Nicklas Nordborg

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