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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 18 05:50:18 PST 2019


Author: armin11
Date: 2019-11-18 05:50:17 -0800 (Mon, 18 Nov 2019)
New Revision: 10335

Modified:
   trunk/mapbender/http/plugins/mod_metadataCarousel.php
Log:
Fix for loading further pages

Modified: trunk/mapbender/http/plugins/mod_metadataCarousel.php
===================================================================
--- trunk/mapbender/http/plugins/mod_metadataCarousel.php	2019-11-18 12:59:46 UTC (rev 10334)
+++ trunk/mapbender/http/plugins/mod_metadataCarousel.php	2019-11-18 13:50:17 UTC (rev 10335)
@@ -130,7 +130,8 @@
         $('.slides li img').click(function(){
             var $this = $(this);
             resourceId = $this.attr("resourceId");
-            alert(resourceId);
+            alert("Load map: " + resourceId);
+            that.executeJavaScript({method:"loadWmc", parameters:{id:resourceId}});
         });
         that.alterCss();
     }});
@@ -201,7 +202,7 @@
     }
 
     this.loadWmcById = function(wmcId){
-       alert(wmcId);
+       alert("Load map: " + wmcId);
        //Mapbender.modules.loadwmc.executeJavaScript({method:"loadWmc", parameters:{id:wmcId}});
        that.executeJavaScript({method:"loadWmc", parameters:{id:wmcId}});
     }



More information about the Mapbender_commits mailing list