}
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 () {
// set up the UI visually and attach callbacks
var self = this;
- $('*.panel-wrap:last', this.rootDiv).addClass('last-panel');
-
self.rootDiv.makeHorizPanel({}); // TODO: this probably doesn't belong into jQuery
self.rootDiv.css('top', ($('#header').outerHeight() ) + 'px');