No, this isn't needed :-)
authorzuber <marek@stepniowski.com>
Fri, 28 Aug 2009 10:48:12 +0000 (12:48 +0200)
committerzuber <marek@stepniowski.com>
Fri, 28 Aug 2009 10:48:12 +0000 (12:48 +0200)
project/static/js/editor.js

index cde0460..0888a34 100644 (file)
@@ -76,8 +76,7 @@ Panel.prototype.otherPanelChanged = function(other) {
 }      
 
 Panel.prototype.markChanged = function () {
-       if(!this.wrap.hasClass('changed') ) // TODO: is this needed ?
-               this.wrap.addClass('changed');
+       this.wrap.addClass('changed');
 }
 
 Panel.prototype.changed = function () {