Author: vmolotkov
Date: 2007-11-16 15:09:43 -0500 (Fri, 16 Nov 2007)
New Revision: 4054
Modified:
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
Log:
the corrected event handling
Modified:
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
===================================================================
---
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-16
20:06:14 UTC (rev 4053)
+++
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-16
20:09:43 UTC (rev 4054)
@@ -144,24 +144,6 @@
}
}
-Shuttle.prototype.add = function(selectItem) {
- this.createShuttleItem(selectItem, this.shuttle);
-}
-
-Shuttle.prototype.addList = function(shuttleItems) {
- for (var i = 0; i < shuttleItems.length; i++) {
- this.add(shuttleItems[i]);
- }
-}
-
-Shuttle.prototype.remove = function() {
-
-}
-
-Shuttle.prototype.removeList = function() {
-
-}
-
Shuttle.prototype.sort = function() {
if (this.sortOrder == Shuttle.ASC) {
this.shuttleItems.sort(this.compareByLabel);
@@ -216,9 +198,9 @@
if (action != null)
this.autoScrolling(action, event);
- this.onorderchanged();
this.controlListManager();
this.saveState();
+ this.onorderchanged();
}
}
Show replies by date