SplitPanel inside SplitPanel with collapsed element gets reset on replaceElement, fixes #3105
This commit is contained in:
parent
660c89bc19
commit
a0d9e7c1e6
1 changed files with 4 additions and 0 deletions
|
@ -400,7 +400,11 @@ pandora.ui.editPanel = function(isEmbed) {
|
||||||
callback && callback();
|
callback && callback();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
// FIXME: replaceElement resets inner collapsed state
|
||||||
|
var right = that.css('right');
|
||||||
pandora.$ui.mainPanel.replaceElement(1, that);
|
pandora.$ui.mainPanel.replaceElement(1, that);
|
||||||
|
that.css('right', right);
|
||||||
|
|
||||||
updateSmallTimelineURL();
|
updateSmallTimelineURL();
|
||||||
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
|
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
|
||||||
that.gainFocus();
|
that.gainFocus();
|
||||||
|
|
Loading…
Reference in a new issue