fix #2154 (Documents view: Table list doesn't properly resize on browser collapse)

This commit is contained in:
rolux 2014-02-02 19:17:55 +05:30
parent 8b684f973b
commit ec417f5ac9

View file

@ -157,7 +157,11 @@ pandora.ui.browser = function() {
pandora.$ui.editor && pandora.$ui.editor.gainFocus();
}
}
if (pandora.user.ui.itemView == 'timeline') {
// FIXME: Why are these not handled in the 'resize' handler
// of the other SplitPanel element?
if (pandora.user.ui.itemView == 'documents') {
pandora.$ui.documentsList.size();
} else if (pandora.user.ui.itemView == 'timeline') {
pandora.$ui.timeline.options({
height: pandora.$ui.contentPanel.size(1)
});