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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 1 05:34:05 PDT 2014


Author: hwbllmnn
Date: 2014-07-01 05:34:05 -0700 (Tue, 01 Jul 2014)
New Revision: 8957

Modified:
   trunk/mapbender/http/plugins/kmlTree.js
Log:
removed KML logo and text from digitizer tree


Modified: trunk/mapbender/http/plugins/kmlTree.js
===================================================================
--- trunk/mapbender/http/plugins/kmlTree.js	2014-07-01 12:30:11 UTC (rev 8956)
+++ trunk/mapbender/http/plugins/kmlTree.js	2014-07-01 12:34:05 UTC (rev 8957)
@@ -69,7 +69,7 @@
 var KmlTree = function(o){
     $kmlTree.children().remove();
     $kmlTree.addClass('kmlTree');
-    var $KMLfolder = $('<li class="open kml"><img src="../img/kml_logo.png" /><a href="#">KML</a><ul></ul></li>');
+    var $KMLfolder = $('<li class="open kml"><ul></ul></li>');
     $kmlTree.append($KMLfolder);
 
     $addButton = $('<button class="add" name="addkml" value="addkml"></button>');
@@ -183,7 +183,7 @@
             ifr.onload = onloadfun;
         });
     });
-    $KMLfolder.find("a").after($addButton);
+    $KMLfolder.find("ul").before($addButton);
 
     o.$target.bind('kml:loaded',function(e,obj){
         //console.log(obj);



More information about the Mapbender_commits mailing list