Changeset 4131
- Timestamp:
- 12/13/07 01:41:22 (1 year ago)
- Files:
-
- 1 modified
-
trunk/ui/current/ui.selectable.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/current/ui.selectable.js
r4113 r4131 136 136 }, 137 137 stop: function(self, ev) { 138 138 139 var options = this.options; 140 141 $('.ui-unselecting', self.element).each(function() { 142 $(this).removeClass('ui-unselecting'); 143 $(self.element).triggerHandler("selectableunselected", [ev, { 144 selectable: self.element, 145 unselected: this, 146 options: options 147 }], options.unselected); 148 }); 139 149 $('.ui-selecting', self.element).each(function() { 140 150 $(this).removeClass('ui-selecting').addClass('ui-selected'); … … 145 155 }], options.selected); 146 156 }); 147 $('.ui-unselecting', self.element).each(function() { 148 $(this).removeClass('ui-unselecting'); 149 $(self.element).triggerHandler("selectableunselected", [ev, { 150 selectable: self.element, 151 unselected: this, 152 options: options 153 }], options.unselected); 154 }); 157 $(self.element).triggerHandler("selectablestop", [ev, { 158 selectable: self.element, 159 options: this.options 160 }], this.options.stop); 155 161 }, 156 162 selecting: function(self, ev, options, selectee) {
