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

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


Author: armin11
Date: 2019-09-17 02:02:32 -0700 (Tue, 17 Sep 2019)
New Revision: 10256

Modified:
   trunk/mapbender/http/plugins/mb_button.js
   trunk/mapbender/http/plugins/mb_toolbar_cont.js
Log:
Fix from karl owesny for jquery transition and new gui layout

Modified: trunk/mapbender/http/plugins/mb_button.js
===================================================================
--- trunk/mapbender/http/plugins/mb_button.js	2019-09-17 09:01:20 UTC (rev 10255)
+++ trunk/mapbender/http/plugins/mb_button.js	2019-09-17 09:02:32 UTC (rev 10256)
@@ -73,8 +73,8 @@
 		dialog.dialog("open");
 		dialog.dialog({ height: options.dialogHeight });
 		dialog.dialog({ width: options.dialogWidth });
-		$('#toolsContainer').hide('fast') && $('a.toggleToolsContainer').removeClass('activeToggle');
-		$('#tree2Container').hide('fast') && $('a.toggleLayerTree').removeClass('activeToggle');
+		$('#toolsContainer').hide() && $('a.toggleToolsContainer').removeClass('activeToggle');
+		$('#tree2Container').hide() && $('a.toggleLayerTree').removeClass('activeToggle');
 		$('.ui-dialog').css('top', '80px');$('.ui-dialog').css('left', '20px');;
 	};
 

Modified: trunk/mapbender/http/plugins/mb_toolbar_cont.js
===================================================================
--- trunk/mapbender/http/plugins/mb_toolbar_cont.js	2019-09-17 09:01:20 UTC (rev 10255)
+++ trunk/mapbender/http/plugins/mb_toolbar_cont.js	2019-09-17 09:02:32 UTC (rev 10256)
@@ -17,6 +17,6 @@
 $(document).ready(function(){ $("#toolsContainer").hide(); });
 $(document).ready(function(){
          $('.toggleToolsContainer').click(function(){
-                $('#toolsContainer').toggle('fast') && $('a.toggleToolsContainer').toggleClass('activeToggle');
+                $('#toolsContainer').toggle() && $('a.toggleToolsContainer').toggleClass('activeToggle');
 		$('#tree2Container').hide() && $('.toggleLayerTree').removeClass('activeToggle'); })
 });



More information about the Mapbender_commits mailing list