remove old "dirty" attribute
authorrougeronj
Mon, 05 Jan 2015 10:17:19 +0100
changeset 361 a31875be59cf
parent 360 56e47b1d5ffe
child 362 8f33cbeb4f32
remove old "dirty" attribute
client/js/renderer/scene.js
--- a/client/js/renderer/scene.js	Mon Jan 05 10:06:48 2015 +0100
+++ b/client/js/renderer/scene.js	Mon Jan 05 10:17:19 2015 +0100
@@ -332,7 +332,6 @@
         this.renkan.project.on("add:users remove:users", _thRedrawUsers);
 
         this.renkan.project.on("add:views remove:views", function(_node) {
-        	_this.renkan.project.set({dirty:true});
             if(_this.renkan.project.get('views').length > 0) {
                 _this.$.find(".Rk-ZoomSetSaved").show();
             }
@@ -342,17 +341,14 @@
         });
 
         this.renkan.project.on("add:nodes", function(_node) {
-        	_this.renkan.project.set({dirty:true});
             _this.addRepresentation("Node", _node);
             _thRedraw();
         });
         this.renkan.project.on("add:edges", function(_edge) {
-        	_this.renkan.project.set({dirty:true});
             _this.addRepresentation("Edge", _edge);
             _thRedraw();
         });
         this.renkan.project.on("change:title", function(_model, _title) {
-        	_this.renkan.project.set({dirty:true});
             var el = _this.$.find(".Rk-PadTitle");
             if (el.is("input")) {
                 if (el.val() !== _title) {