Author: dmorozov
Date: 2007-06-25 13:45:18 -0400 (Mon, 25 Jun 2007)
New Revision: 1305
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
Log:
fix script error while onselect action
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-06-25
16:53:45 UTC (rev 1304)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-06-25
17:45:18 UTC (rev 1305)
@@ -440,7 +440,7 @@
var state = this.selection.getState();
event.oldSelection = this.oldState;
event.newSelection = state;
- this.onselectionchange(event);
+ if(this.onselectionchange) this.onselectionchange(event);
this.oldState = state;
},
Show replies by date