Author: vmolotkov
Date: 2008-04-18 09:32:51 -0400 (Fri, 18 Apr 2008)
New Revision: 7934
Modified:
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
the latest changes
Modified:
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
---
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2008-04-18
12:52:21 UTC (rev 7933)
+++
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2008-04-18
13:32:51 UTC (rev 7934)
@@ -167,8 +167,13 @@
this.addSelectedItem(activeElem);
this.setActiveItem(activeElem);
} else if (event.shiftKey) {
- this.selectItemGroup(activeElem);
- this.activeItem = activeElem; //given event works with pseudoActiveItem
+ if (!this.pseudoActiveItem) {
+ this.selectionItem(activeElem);
+ this.setActiveItem(activeElem);
+ } else {
+ this.selectItemGroup(activeElem);
+ this.activeItem = activeElem; //given event works with pseudoActiveItem
+ }
} else {
this.selectionItem(activeElem);
this.setActiveItem(activeElem);
Show replies by date