[fusion-commits] r1941 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Oct 14 11:06:41 EDT 2009
Author: pdeschamps
Date: 2009-10-14 11:06:39 -0400 (Wed, 14 Oct 2009)
New Revision: 1941
Modified:
trunk/widgets/LayerManager.js
Log:
re-implemented clear functions with destroy method
Modified: trunk/widgets/LayerManager.js
===================================================================
--- trunk/widgets/LayerManager.js 2009-10-13 20:42:29 UTC (rev 1940)
+++ trunk/widgets/LayerManager.js 2009-10-14 15:06:39 UTC (rev 1941)
@@ -77,7 +77,7 @@
clear: function(node) {
while (node.childNodes.length > 0) {
this.clear(node.childNodes[0]);
- node.remove(node.childNodes[0]);
+ node.destroy(node.childNodes[0]);
}
},
@@ -88,8 +88,8 @@
*/
draw: function(r) {
if (this.mapList) {
- //this.clear(this.mapList);
- //this.mapList.remove();
+ this.clear(this.mapList);
+ this.mapList.destroy();
this.mapList = null;
}
More information about the fusion-commits
mailing list