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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 24 23:58:36 PDT 2014


Author: hwbllmnn
Date: 2014-06-24 23:58:36 -0700 (Tue, 24 Jun 2014)
New Revision: 8927

Modified:
   trunk/mapbender/http/javascripts/mod_loadwmc.js
Log:
enable kml/geojson processing when uploading wmc file


Modified: trunk/mapbender/http/javascripts/mod_loadwmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.js	2014-06-24 14:25:21 UTC (rev 8926)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.js	2014-06-25 06:58:36 UTC (rev 8927)
@@ -486,7 +486,7 @@
 							//console.log("Statement: " + obj.javascript[j]);
 							eval(obj.javascript[j]);
 						}
-						if (args.method === "loadWmc") {
+						if (args.method === "loadWmc" || args.method === 'loadWmcFromFile') {
                                                     var kml = $('#mapframe1').data('kml');
                                                     if(kml) {
                                                         try {



More information about the Mapbender_commits mailing list