Author: amarkhel
Date: 2010-01-28 07:16:40 -0500 (Thu, 28 Jan 2010)
New Revision: 16375
Modified:
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js
Log:
Fix RF-8275
Modified:
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js
===================================================================
---
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js 2010-01-28
12:14:59 UTC (rev 16374)
+++
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js 2010-01-28
12:16:40 UTC (rev 16375)
@@ -39,7 +39,8 @@
destroy: function() {
//remove listeners
- this.selectionManager.removeListeners();
+ this.selectionManager.destroy();
+
if (this.header) {
this.header.removeListeners();
}
@@ -55,7 +56,6 @@
}
//null all references to DOM elements
- delete this.selectionManager;
delete this.header;
delete this.footer;
@@ -71,6 +71,7 @@
this.scrollingDiv = null;
this.groupRows = null;
this.groups = null;
+ this.selectionManager = null;
Event.stopObserving(window, 'resize', this.eventContainerResize);
},
Modified:
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js
===================================================================
---
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js 2010-01-28
12:14:59 UTC (rev 16374)
+++
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js 2010-01-28
12:16:40 UTC (rev 16375)
@@ -246,7 +246,10 @@
},
-
+ destroy: function(){
+ this.removeListeners();
+ this.gridElement = null;
+ },
refreshEvents: function() {
this.setListeners();
if(this.options.selectionMode != "none") {
Show replies by date