Author: vmolotkov
Date: 2007-11-29 12:07:49 -0500 (Thu, 29 Nov 2007)
New Revision: 4356
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
bug:RF-1446
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
---
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-11-29
17:03:35 UTC (rev 4355)
+++
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-11-29
17:07:49 UTC (rev 4356)
@@ -250,7 +250,7 @@
this.selectedItems.push(markedShuttleItem); //TODO :delete
}
- if (this.activeItem.rowIndex != activeItem.rowIndex) {
+ if ((this.activeItem != null) && (this.activeItem.rowIndex !=
activeItem.rowIndex)) {
//reset activity of an element
if (Richfaces.SelectItems.isSelected(this.activeItem)) {
Richfaces.SelectItems.doSelect(this.activeItem);
Show replies by date