Author: vmolotkov
Date: 2007-11-01 17:13:52 -0400 (Thu, 01 Nov 2007)
New Revision: 3699
Modified:
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
Log:
rich styles was added
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-01
21:04:15 UTC (rev 3698)
+++
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-01
21:13:52 UTC (rev 3699)
@@ -33,9 +33,18 @@
Shuttle.ASC = "acs";
Shuttle.DESC = "desc";
-Shuttle.SELECTED_ITEM_CLASS = "ol_select";
-Shuttle.NORMAL_ITEM_CLASS = "ol_normal";
-Shuttle.ACTIVE_ITEM_CLASS = "ol_active";
+
+Shuttle.SELECTED_ITEM_CLASS = "ol_select rich-ordering-list-row-selected";
+Shuttle.NORMAL_ITEM_CLASS = "ol_normal rich-ordering-list-row";
+Shuttle.ACTIVE_ITEM_CLASS = "ol_active rich-ordering-list-row-active";
+Shuttle.DISABLED_ITEM_CLASS = "rich-ordering-list-row-disabled";
+
+Shuttle.SELECTED_SUBITEM_CLASS = "rich-ordering-list-cell-selected";
+Shuttle.NORMAL_SUBITEM_CLASS = "rich-ordering-list-cell";
+Shuttle.ACTIVE_SUBITEM_CLASS = "rich-ordering-list-cell-active";
+Shuttle.DISABLED_SUBITEM_CLASS = "rich-ordering-list-cell-disabled";
+
+
Shuttle.ACTIVITY_MARKER = "a";
Shuttle.SELECTION_MARKER = "s";
Shuttle.ITEM_SEPARATOR = ",";
@@ -211,6 +220,7 @@
markedItem._selected = true;
this.selectedItems.push(markedShuttleItem);
}
+
this.activeItem.className = Shuttle.SELECTED_ITEM_CLASS;
if (this.activeItem && !this.getSelectItemByNode(this.activeItem)._selected) {
Show replies by date