fix #2070 (List doesn't resize on documents dialog resize)

This commit is contained in:
rolux 2014-02-08 16:34:15 +00:00
parent 9667f3443a
commit c452fa6298
2 changed files with 7 additions and 0 deletions

View file

@ -34,6 +34,9 @@ pandora.ui.documentsDialog = function() {
removeOnClose: true,
title: Ox._('Manage Documents'),
width: dialogWidth
})
.bindEvent({
resize: $content.updateSize
});
function addDocuments() {

View file

@ -883,6 +883,10 @@ pandora.ui.documentsPanel = function(options) {
}).open();
}
that.updateSize = function() {
$list.size();
};
return that;
};