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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon May 12 03:16:55 PDT 2014


Author: hwbllmnn
Date: 2014-05-12 03:16:55 -0700 (Mon, 12 May 2014)
New Revision: 8842

Modified:
   trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
fixed removing of kml layers


Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-05-12 10:01:08 UTC (rev 8841)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-05-12 10:16:55 UTC (rev 8842)
@@ -251,7 +251,7 @@
             menu.menu('destroy').remove();
         });
         menu.children('li:has(.digitize-remove)').bind('click', function() {
-            $('#mapframe1').data('kml').remove(item.url);
+            $('#mapframe1').data('kml').remove($link.parent().attr('title'));
             $link.parent().remove();
             menu.menu('destroy').remove();
         });



More information about the Mapbender_commits mailing list