[Mapbender-commits] r8850 - in trunk/mapbender/http: css plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 12 07:31:00 PDT 2014
Author: hwbllmnn
Date: 2014-05-12 07:31:00 -0700 (Mon, 12 May 2014)
New Revision: 8850
Modified:
trunk/mapbender/http/css/digitize_new.css
trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
fixed multiple event registration on dialog buttons
Modified: trunk/mapbender/http/css/digitize_new.css
===================================================================
--- trunk/mapbender/http/css/digitize_new.css 2014-05-12 14:02:06 UTC (rev 8849)
+++ trunk/mapbender/http/css/digitize_new.css 2014-05-12 14:31:00 UTC (rev 8850)
@@ -147,3 +147,7 @@
background-repeat: no-repeat;
background-position: center;
}
+
+.digitize-hidden {
+ display: none;
+}
Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-12 14:02:06 UTC (rev 8849)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-12 14:31:00 UTC (rev 8850)
@@ -152,6 +152,7 @@
position: [o.$target.offset().left, o.$target.offset().top]
}).bind("dialogclose", function () {
button.stop();
+ $(this).find('.digitize-image').unbind('click');
that.destroy();
});
editDialog = $(editHtml);
@@ -160,6 +161,7 @@
position: [o.$target.offset().left, o.$target.offset().top]
}).bind("dialogclose", function () {
button.stop();
+ $(this).find('.digitize-image').unbind('click');
that.destroy();
});
attributesDialog = $(editAttributesHtml);
@@ -168,6 +170,7 @@
position: [o.$target.offset().left, o.$target.offset().top]
}).bind("dialogclose", function () {
button.stop();
+ $(this).find('.digitize-image').unbind('click');
that.destroy();
});
More information about the Mapbender_commits
mailing list