[Mapbender-commits] r8867 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu May 15 04:36:10 PDT 2014
Author: hwbllmnn
Date: 2014-05-15 04:36:09 -0700 (Thu, 15 May 2014)
New Revision: 8867
Modified:
trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
prevent edit mode when digitizing new feature
Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-15 11:29:41 UTC (rev 8866)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-15 11:36:09 UTC (rev 8867)
@@ -436,6 +436,7 @@
if(mode === 'new') {
if (o.$target.size() > 0) {
o.type = status.match(/new-(.+)/)[1];
+ o.editedFeature = null;
o.$target
.mb_digitize(o)
.unbind('mb_digitizelastpointadded')
More information about the Mapbender_commits
mailing list