Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma
authorzuber <marek@stepniowski.com>
Fri, 28 Aug 2009 10:48:24 +0000 (12:48 +0200)
committerzuber <marek@stepniowski.com>
Fri, 28 Aug 2009 10:48:24 +0000 (12:48 +0200)
project/static/js/editor.js

index f238e18..0f56fa7 100644 (file)
@@ -86,8 +86,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 () {