client/js/renderer/edgeeditor.js
changeset 461 48235ed6b07d
parent 459 98cae534083d
parent 447 e246651b6626
child 466 884b35feb04b
--- a/client/js/renderer/edgeeditor.js	Wed Jun 03 19:16:58 2015 +0200
+++ b/client/js/renderer/edgeeditor.js	Thu Jun 04 10:04:01 2015 +0200
@@ -177,8 +177,10 @@
             }
         },
         redraw: function() {
-            var _coords = this.source_representation.paper_coords;
-            Utils.drawEditBox(this.options, _coords, this.editor_block, 5, this.editor_$);
+            if (this.options.popup_editor){
+                var _coords = this.source_representation.paper_coords;
+                Utils.drawEditBox(this.options, _coords, this.editor_block, 5, this.editor_$);
+            }
             this.editor_$.show();
             paper.view.draw();
         }