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.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) {
oml.UI.set({listSelection: data.ids});
},

View File

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