Changeset 363
- Timestamp:
- Apr 21, 2010, 12:02:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/SelectAddMore.js
r359 r363 53 53 that.onClose = onClose; 54 54 55 // find all termelements55 // find all matching select elements 56 56 $("select[rel*='" + that.rel + "']").each(function() { 57 57 // add the magic option … … 71 71 e.append('<option value="" class="addTerm">add more...</option>'); 72 72 73 // and bind to theonChange event73 // and bind and onChange event 74 74 e.bind('change', function() { 75 75 // was our magic option selected? 76 76 if (this.selectedIndex == s) { 77 // yeah, launch the term / ontology editor dialog77 // yeah, launch the dialog associated with this select 78 78 // note that HTML5 options are being used to make 79 79 // the dialog integrate with the application!
Note: See TracChangeset
for help on using the changeset viewer.