Opened 9 years ago
Closed 9 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 9 years ago by
Status: | new → assigned |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
comment:4 Changed 9 years ago by
comment:5 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [2204]) References #564: Update example extensions to new scripting pattern
Fixed for the menu items and toolbar buttons.