Changeset 180 for trunk/web-app
- Timestamp:
- Feb 9, 2010, 3:22:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/grouping.js
r178 r180 14 14 function Grouping() { 15 15 } 16 /* 16 17 Grouping.prototype = { 17 18 itemsIdentifier: null, 18 itemIdentifier: null,19 itemIdentifier: null, 19 20 groupsIdentifier: null, 20 groupIdentifier: null, 21 groupIdentifier: null, 22 23 init: function(itemsIdentifier, itemIdentifier, groupsIdentifier, groupIdentifier) { 24 var that = this; 25 26 this.itemsIdentifier = itemsIdentifier; 27 this.itemIdentifier = itemIdentifier; 28 this.groupsIdentifier = groupsIdentifier; 29 this.groupIdentifier = groupIdentifier; 30 31 this.initItems(); 32 }, 33 34 initItems: function() { 35 $(this.itemsIdentifier). 36 } 37 } 38 */ 39 40 Grouping.prototype = { 41 itemsIdentifier: null, 42 itemIdentifier: null, 43 groupsIdentifier: null, 44 groupIdentifier: null, 21 45 22 46 init: function(itemsIdentifier, itemIdentifier, groupsIdentifier, groupIdentifier) { … … 36 60 37 61 // make all items selectable 62 console.log($(this.itemsIdentifier)) 38 63 $(this.itemsIdentifier).selectable({ 39 64 filter: that.itemIdentifier, … … 62 87 $('.ui-selected', $(that.itemsIdentifier)).each(function() { 63 88 var E = $(this); 64 89 65 90 // add to list 66 91 E.appendTo(list); … … 132 157 } 133 158 134
Note: See TracChangeset
for help on using the changeset viewer.