forked from 0x2620/pandora
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,
|
||||
title: Ox._('Manage Documents'),
|
||||
width: dialogWidth
|
||||
})
|
||||
.bindEvent({
|
||||
resize: $content.updateSize
|
||||
});
|
||||
|
||||
function addDocuments() {
|
||||
|
|
|
@ -883,6 +883,10 @@ pandora.ui.documentsPanel = function(options) {
|
|||
}).open();
|
||||
}
|
||||
|
||||
that.updateSize = function() {
|
||||
$list.size();
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue