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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Sep 17 02:01:20 PDT 2019


Author: armin11
Date: 2019-09-17 02:01:20 -0700 (Tue, 17 Sep 2019)
New Revision: 10255

Modified:
   trunk/mapbender/http/javascripts/mod_featureInfo.php
   trunk/mapbender/http/javascripts/mod_savewmc.js
Log:
Fix from karl owesny for jquery transition and new gui layout

Modified: trunk/mapbender/http/javascripts/mod_featureInfo.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfo.php	2019-09-17 08:56:48 UTC (rev 10254)
+++ trunk/mapbender/http/javascripts/mod_featureInfo.php	2019-09-17 09:01:20 UTC (rev 10255)
@@ -129,6 +129,7 @@
 	if (el) {
 		$(el).unbind("click", mod_featureInfo_event)
 			.css("cursor", "default");
+		$("#featureInfo1").removeClass("myOnClass");
 	}
 }
 
@@ -155,7 +156,11 @@
                 }
                 $(this).dialog('close').remove();
             }
-        }
+        },
+	open: function(){
+		$('#tree2Container').hide() && $('a.toggleLayerTree').removeClass('activeToggle'),
+		$('#toolsContainer').hide() && $('a.toggleToolsContainer').removeClass('activeToggle');
+	}
     }).parent().css({ position:"fixed" });
 }
 

Modified: trunk/mapbender/http/javascripts/mod_savewmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_savewmc.js	2019-09-17 08:56:48 UTC (rev 10254)
+++ trunk/mapbender/http/javascripts/mod_savewmc.js	2019-09-17 09:01:20 UTC (rev 10255)
@@ -418,7 +418,7 @@
 	$this.click(function () {
 		$('#savewmc').toggleClass('myOnClass');
 		$('#toolsContainer').hide() && $('a.toggleToolsContainer').removeClass('activeToggle');
-		$('#tree2Container').hide('fast') && $('a.toggleLayerTree').removeClass('activeToggle');
+		$('#tree2Container').hide() && $('a.toggleLayerTree').removeClass('activeToggle');
 		mod_savewmc();
 	}).mouseover(function () {
 		if (options.src) {



More information about the Mapbender_commits mailing list