resize documents filter on sidebar resize, closes: #3268

This commit is contained in:
j 2023-07-06 16:50:22 +05:30
parent a667fc5b5b
commit 028def73d9
2 changed files with 1 additions and 3 deletions

View file

@ -37,9 +37,6 @@ pandora.ui.documentContentPanel = function() {
orientation: 'vertical'
})
.bindEvent({
resize: function(data) {
Ox.print('split resize');
},
pandora_document: function(data) {
if (data.value && data.previousValue) {
that.replaceElement(1, pandora.$ui.document = pandora.ui.document());

View file

@ -18,6 +18,7 @@ pandora.ui.documentPanel = function() {
resize: function(data) {
if (!pandora.user.ui.document) {
pandora.$ui.list && pandora.$ui.list.size();
pandora.resizeFilters();
} else {
pandora.$ui.document && pandora.$ui.document.update();
}