Merge branch 'master' of git@stigma:platforma
[redakcja.git] / project / static / js / editor.js
index 131c863..7b14562 100644 (file)
@@ -86,8 +86,7 @@ Panel.prototype.otherPanelChanged = function(other) {
 }      
 
 Panel.prototype.markChanged = function () {
 }      
 
 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 () {
 }
 
 Panel.prototype.changed = function () {