update position on image viewer resize
This commit is contained in:
parent
df658c96fb
commit
30d05f52ff
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ pandora.ui.documentDialog = function(options) {
|
|||
height: dialogHeight,
|
||||
width: dialogWidth
|
||||
});
|
||||
$content.getArea && pandora.UI.set(
|
||||
'documents.' + item.id,
|
||||
{position: $content.getArea().map(Math.round)}
|
||||
);
|
||||
},
|
||||
pandora_document: function(data) {
|
||||
if (data.value) {
|
||||
|
|
Loading…
Reference in a new issue