[Mapbender-commits] r5188 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 15 04:36:10 EST 2009


Author: verenadiewald
Date: 2009-12-15 04:36:07 -0500 (Tue, 15 Dec 2009)
New Revision: 5188

Added:
   trunk/mapbender/http/plugins/mb_resultList_SelectAll.js
Log:
select all results from list

Added: trunk/mapbender/http/plugins/mb_resultList_SelectAll.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_SelectAll.js	                        (rev 0)
+++ trunk/mapbender/http/plugins/mb_resultList_SelectAll.js	2009-12-15 09:36:07 UTC (rev 5188)
@@ -0,0 +1,12 @@
+
+
+var ResultListSelectAll = function(data) { 
+console.log(data);
+	var tr_rows = $("#resultList_table").fnGetNodes();
+	for(trindex in tr_rows) {
+		$(tr_rows[trindex]).addClass("row_selected");
+	}
+	
+};
+
+Mapbender.modules[options.target].addGlobalButton({"title":"Alle selektieren", "callback": ResultListSelectAll});



More information about the Mapbender_commits mailing list