forked from 0x2620/pandora
fix #2154 (Documents view: Table list doesn't properly resize on browser collapse)
This commit is contained in:
parent
8b684f973b
commit
ec417f5ac9
1 changed files with 5 additions and 1 deletions
|
@ -157,7 +157,11 @@ pandora.ui.browser = function() {
|
||||||
pandora.$ui.editor && pandora.$ui.editor.gainFocus();
|
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({
|
pandora.$ui.timeline.options({
|
||||||
height: pandora.$ui.contentPanel.size(1)
|
height: pandora.$ui.contentPanel.size(1)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue