SplitPanel inside SplitPanel with collapsed element gets reset on replaceElement, fixes #3105

This commit is contained in:
j 2018-03-11 19:41:10 +05:30
parent 660c89bc19
commit a0d9e7c1e6

View file

@ -400,7 +400,11 @@ pandora.ui.editPanel = function(isEmbed) {
callback && callback();
});
};
// FIXME: replaceElement resets inner collapsed state
var right = that.css('right');
pandora.$ui.mainPanel.replaceElement(1, that);
that.css('right', right);
updateSmallTimelineURL();
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
that.gainFocus();