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 , 11 years ago
Status: | new → assigned |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
comment:4 by , 11 years ago
comment:5 by , 11 years ago
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.