[Mapbender-commits] r5190 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 15 05:47:59 EST 2009
Author: kmq
Date: 2009-12-15 05:47:56 -0500 (Tue, 15 Dec 2009)
New Revision: 5190
Modified:
trunk/mapbender/http/plugins/mb_resultList_SelectAll.js
Log:
select all in a ResultList
Modified: trunk/mapbender/http/plugins/mb_resultList_SelectAll.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_SelectAll.js 2009-12-15 09:44:30 UTC (rev 5189)
+++ trunk/mapbender/http/plugins/mb_resultList_SelectAll.js 2009-12-15 10:47:56 UTC (rev 5190)
@@ -1,12 +1,7 @@
var ResultListSelectAll = function(data) {
-console.log(data);
- var tr_rows = $("#resultList_table").fnGetNodes();
- for(trindex in tr_rows) {
- $(tr_rows[trindex]).addClass("row_selected");
- }
-
+ $("#"+options.target+"_table tr").addClass("row_selected");
};
Mapbender.modules[options.target].addGlobalButton({"title":"Alle selektieren", "callback": ResultListSelectAll});
More information about the Mapbender_commits
mailing list