client/js/renderer/edgeeditor.js
changeset 445 705a2e9c6c9d
parent 434 0d5998b32a7c
child 447 e246651b6626
--- a/client/js/renderer/edgeeditor.js	Mon Apr 27 17:23:14 2015 +0200
+++ b/client/js/renderer/edgeeditor.js	Tue May 05 17:59:14 2015 +0200
@@ -138,8 +138,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();
         }