MINOR Force full redraw when panels are initiated

This commit is contained in:
Ingo Schommer 2012-02-28 18:07:28 +01:00
parent 34d3f29a95
commit 6e9bf8859e

View File

@ -96,10 +96,12 @@
// Save collapsed state in cookie
if($.cookie && this.attr('id')) $.cookie('cms-panel-collapsed-' + this.attr('id'), !bool, {path: '/', expires: 31});
if(!silent) {
// TODO Fix redraw order (inner to outer), and re-enable silent flag
// to avoid multiple expensive redraws on a single load.
// if(!silent) {
this.trigger('toggle', bool);
this.trigger(bool ? 'expand' : 'collapse');
}
// }
},
expandPanel: function(force) {