r2409 - Sortable: refactored for auto-detection of getters.
Author: scott.gonzalez
Date: Mon Mar 30 06:20:29 2009
New Revision: 2409
Modified:
branches/dev/widget-factory/ui/ui.sortable.js
Log:
Sortable: refactored for auto-detection of getters.
Modified: branches/dev/widget-factory/ui/ui.sortable.js
==============================================================================
--- branches/dev/widget-factory/ui/ui.sortable.js (original)
+++ branches/dev/widget-factory/ui/ui.sortable.js Mon Mar 30 06:20:29 2009
@@ -42,6 +42,8 @@
for ( var i = this.items.length - 1; i >= 0; i-- )
this.items[i].item.removeData("sortable-item");
+
+ return this;
},
_mouseCapture: function(event, overrideHandle) {
@@ -354,7 +356,7 @@
$(this.domPosition.parent).prepend(this.currentItem);
}
- return true;
+ return this;
},
@@ -460,6 +462,7 @@
refresh: function(event) {
this._refreshItems(event);
this.refreshPositions();
+ return this;
},
_connectWith: function() {
@@ -595,6 +598,7 @@
};
}
+ return this;
},
_createPlaceholder: function(that) {