[Mapbender-commits] r5091 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 9 08:33:29 EST 2009


Author: christoph
Date: 2009-12-09 08:33:27 -0500 (Wed, 09 Dec 2009)
New Revision: 5091

Modified:
   trunk/mapbender/lib/resultGeometryListController.js
Log:


Modified: trunk/mapbender/lib/resultGeometryListController.js
===================================================================
--- trunk/mapbender/lib/resultGeometryListController.js	2009-12-09 09:32:58 UTC (rev 5090)
+++ trunk/mapbender/lib/resultGeometryListController.js	2009-12-09 13:33:27 UTC (rev 5091)
@@ -126,14 +126,14 @@
 	};
 	
 	this.clear = function () {
-		if (me.datatable) {
-			me.model.deleteFeatureCollection();	
-		}
+		me.model.deleteFeatureCollection();	
 	};
 
 	var clear_callback = function(){
-		me.datatable.fnClearTable();
-		me.datatable.remove()
+		if (datatable) {
+			datatable.fnClearTable();
+//			datatable.remove();
+		}
 	};
 
 	this.reinitialize = function(){



More information about the Mapbender_commits mailing list