client/js/renderer/nodeeditor.js
changeset 445 705a2e9c6c9d
parent 435 e529b633c339
child 447 e246651b6626
--- a/client/js/renderer/nodeeditor.js	Mon Apr 27 17:23:14 2015 +0200
+++ b/client/js/renderer/nodeeditor.js	Tue May 05 17:59:14 2015 +0200
@@ -202,8 +202,10 @@
             });
         },
         redraw: function() {
-            var _coords = this.source_representation.paper_coords;
-            Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$);
+        	if (this.options.popup_editor){
+        		var _coords = this.source_representation.paper_coords;
+        		Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$);        		
+        	}
             this.editor_$.show();
             paper.view.draw();
         }