handle resize

This commit is contained in:
rlx 2016-01-10 15:09:21 +05:30
parent 2f108290f0
commit e24ed24ee5
3 changed files with 4 additions and 4 deletions

View file

@ -19,6 +19,9 @@ oml.ui.folders = function() {
}, },
oml_showfolder: function() { oml_showfolder: function() {
oml.resizeListFolders(); oml.resizeListFolders();
},
oml_showinfo: function() {
oml.resizeListFolders();
} }
}); });

View file

@ -108,10 +108,6 @@ oml.ui.list = function() {
}); });
} }
}, },
resize: function(data) {
// this is the resize event of the split panel
that.size();
},
select: function(data) { select: function(data) {
oml.UI.set({listSelection: data.ids}); oml.UI.set({listSelection: data.ids});
}, },

View file

@ -23,6 +23,7 @@ oml.ui.rightPanel = function() {
resize: function(data) { resize: function(data) {
that.options({size: data.size}); that.options({size: data.size});
oml.$ui.filtersOuterPanel.updateElement(); oml.$ui.filtersOuterPanel.updateElement();
oml.$ui.list.size();
oml.$ui.itemViewPanel.options({size: data.size}); oml.$ui.itemViewPanel.options({size: data.size});
}, },
oml_item: function(data) { oml_item: function(data) {