[Mapbender-commits] r5408 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 25 04:07:46 EST 2010


Author: christoph
Date: 2010-01-25 04:07:45 -0500 (Mon, 25 Jan 2010)
New Revision: 5408

Modified:
   trunk/mapbender/http/javascripts/mod_savewmc.js
Log:


Modified: trunk/mapbender/http/javascripts/mod_savewmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_savewmc.js	2010-01-25 09:06:53 UTC (rev 5407)
+++ trunk/mapbender/http/javascripts/mod_savewmc.js	2010-01-25 09:07:45 UTC (rev 5408)
@@ -156,10 +156,8 @@
 	var buttonObj = {};
 	buttonObj[translatedI18nObj.labelSave] = function() {
 		var inspire_cat = {};
-		$("#" + options.id + "_saveWMCForm form #" + options.id + 
-			"_inspire_cat :checkbox").each(function(){
-			
-			var regExp = new RegExp(options.id + "_");
+		var regExp = new RegExp(options.id + "_");
+		$("#" + options.id + "_wmcinspire:checkbox").each(function(){
 			if(!!$(this).attr('checked')) {
 				inspire_cat[$(this).attr('id').replace(regExp, "")] = true;
 			}



More information about the Mapbender_commits mailing list