[Mapbender-commits] r8911 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue May 27 02:41:52 PDT 2014
Author: hwbllmnn
Date: 2014-05-27 02:41:52 -0700 (Tue, 27 May 2014)
New Revision: 8911
Modified:
trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
changed handling of open digitize/style dialogs
Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-27 09:37:26 UTC (rev 8910)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-27 09:41:52 UTC (rev 8911)
@@ -377,7 +377,10 @@
menu.menu('destroy').remove();
});
- menu.children('li:has(.digitize-style)').bind('click', editStyle($link, menu));
+ menu.children('li:has(.digitize-style)').bind('click', function() {
+ editDialog.dialog('close');
+ editStyle($link, menu)();
+ });
return false;
};
@@ -426,6 +429,7 @@
editDialog.dialog('close');
return;
}
+ editStyleDialog.dialog('close');
$link.addClass('kmltree-selected').siblings().removeClass('kmltree-selected');
var idx = $link.attr('idx');
var kml = $('#mapframe1').data('kml');
More information about the Mapbender_commits
mailing list