r2695 - labs: fixed spelling of a event name in selectables
Author: paul.bakaus
Date: Thu Jun 11 00:29:19 2009
New Revision: 2695
Modified:
branches/labs/selectable-labs/demo/default.html
branches/labs/selectable-labs/ui.selectable.js
Log:
labs: fixed spelling of a event name in selectables
Modified: branches/labs/selectable-labs/demo/default.html
==============================================================================
--- branches/labs/selectable-labs/demo/default.html (original)
+++ branches/labs/selectable-labs/demo/default.html Thu Jun 11 00:29:19 2009
@@ -37,7 +37,8 @@
$("#selectable").selectable({
selectedClass: 'ui-state-active',
- filter: 'li'
+ filter: 'li',
+ keyboard: true
});
});
Modified: branches/labs/selectable-labs/ui.selectable.js
==============================================================================
--- branches/labs/selectable-labs/ui.selectable.js (original)
+++ branches/labs/selectable-labs/ui.selectable.js Thu Jun 11 00:29:19 2009
@@ -246,7 +246,7 @@
this._selection[i].removeClass(this.options.selectedClass);
this._selection[i].data('selectable-item').selected = false;
this._selection.splice(i,1);
- if(triggerEvent) this._trigger('unselect', triggerEvent,
this._uiHash($(item), 'remove'));
+ if(triggerEvent) this._trigger('unselect', triggerEvent,
this._uiHash($(item), 'removed'));
break;
}
};
@@ -393,7 +393,7 @@
},
- select: function() {
+ select: function(item) {
//TODO
},