[Mapbender-commits] r6911 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Sep 7 04:45:50 EDT 2010


Author: verenadiewald
Date: 2010-09-07 08:45:49 +0000 (Tue, 07 Sep 2010)
New Revision: 6911

Modified:
   trunk/mapbender/lib/customTreeController.js
Log:
http://trac.osgeo.org/mapbender/ticket/703

Modified: trunk/mapbender/lib/customTreeController.js
===================================================================
--- trunk/mapbender/lib/customTreeController.js	2010-09-07 07:10:50 UTC (rev 6910)
+++ trunk/mapbender/lib/customTreeController.js	2010-09-07 08:45:49 UTC (rev 6911)
@@ -413,7 +413,13 @@
 
 	var createLeaf = function (treeNode, options) {
 		
-		var $currentItem = $("<li></li>");
+		//PLEASE NOTE: Workaround for IE (see more information here: http://dev.jqueryui.com/ticket/4333#comment:7)
+		var $currentItem = $("<li></li>").mousedown(function(e) {
+		    if($.browser.msie) {
+		         e.stopPropagation();
+		    }
+		});
+
 		var $currentIcon = $("<div></div>");
 		var $currentLabel = $("<span class='custom-tree-file'>" + treeNode.name + "</span>");
 



More information about the Mapbender_commits mailing list