fix #2070 (List doesn't resize on documents dialog resize)
This commit is contained in:
parent
9667f3443a
commit
c452fa6298
2 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,9 @@ pandora.ui.documentsDialog = function() {
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
title: Ox._('Manage Documents'),
|
title: Ox._('Manage Documents'),
|
||||||
width: dialogWidth
|
width: dialogWidth
|
||||||
|
})
|
||||||
|
.bindEvent({
|
||||||
|
resize: $content.updateSize
|
||||||
});
|
});
|
||||||
|
|
||||||
function addDocuments() {
|
function addDocuments() {
|
||||||
|
|
|
@ -883,6 +883,10 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
}).open();
|
}).open();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
that.updateSize = function() {
|
||||||
|
$list.size();
|
||||||
|
};
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue