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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 27 02:44:56 PDT 2014


Author: hwbllmnn
Date: 2014-05-27 02:44:56 -0700 (Tue, 27 May 2014)
New Revision: 8912

Modified:
   trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
update preview in all dialogs when changing style


Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-05-27 09:41:52 UTC (rev 8911)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-05-27 09:44:56 UTC (rev 8912)
@@ -323,6 +323,10 @@
                 kml.render();
                 var preview = editStyleDialog.find('.digitize-preview').html('').get(0);
                 kml.renderPreview(feature, preview);
+                preview = editDialog.find('.digitize-preview').html('').get(0);
+                kml.renderPreview(feature, preview);
+                preview = attributesDialog.find('.digitize-preview').html('').get(0);
+            kml.renderPreview(feature, preview);
             });
             $('.opacity-slider').slider('option', 'change', function() {
                 if(isline && $(this).attr('data-name') === 'fill-opacity') {



More information about the Mapbender_commits mailing list