resize documents filter on sidebar resize, closes: #3268
This commit is contained in:
parent
a667fc5b5b
commit
028def73d9
2 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,6 @@ pandora.ui.documentContentPanel = function() {
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
resize: function(data) {
|
|
||||||
Ox.print('split resize');
|
|
||||||
},
|
|
||||||
pandora_document: function(data) {
|
pandora_document: function(data) {
|
||||||
if (data.value && data.previousValue) {
|
if (data.value && data.previousValue) {
|
||||||
that.replaceElement(1, pandora.$ui.document = pandora.ui.document());
|
that.replaceElement(1, pandora.$ui.document = pandora.ui.document());
|
||||||
|
|
|
@ -18,6 +18,7 @@ pandora.ui.documentPanel = function() {
|
||||||
resize: function(data) {
|
resize: function(data) {
|
||||||
if (!pandora.user.ui.document) {
|
if (!pandora.user.ui.document) {
|
||||||
pandora.$ui.list && pandora.$ui.list.size();
|
pandora.$ui.list && pandora.$ui.list.size();
|
||||||
|
pandora.resizeFilters();
|
||||||
} else {
|
} else {
|
||||||
pandora.$ui.document && pandora.$ui.document.update();
|
pandora.$ui.document && pandora.$ui.document.update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue