Fix filemanager document editor does not respect page size format

This commit is contained in:
Hadi Nategh 2016-07-25 18:29:19 +02:00
parent ecbb81819a
commit 693bf4d0a8
3 changed files with 5 additions and 5 deletions

View File

@ -629,7 +629,7 @@ function expose (widget)
egw.open_link(egw.link('/index.php', { egw.open_link(egw.link('/index.php', {
menuaction: 'filemanager.filemanager_ui.editor', menuaction: 'filemanager.filemanager_ui.editor',
path: _value.download_url path: _value.download_url
}), '', '800x600'); }), '', egw.link_get_registry('filemanager','view_popup'));
} }
}); });
} }

View File

@ -256,6 +256,7 @@ class filemanager_hooks
'merge' => true, 'merge' => true,
'entry' => 'File', 'entry' => 'File',
'entries' => 'Files', 'entries' => 'Files',
'view_popup' => '850x750',
); );
} }
} }

View File

@ -789,7 +789,7 @@ app.classes.filemanager = AppJS.extend(
egw.open_link(egw.link('/index.php', { egw.open_link(egw.link('/index.php', {
menuaction: 'filemanager.filemanager_ui.editor', menuaction: 'filemanager.filemanager_ui.editor',
path: data.data.download_url path: data.data.download_url
}), '', '800x600'); }), '', egw.link_get_registry('filemanager','view_popup'));
} }
else else
{ {
@ -1139,9 +1139,8 @@ app.classes.filemanager = AppJS.extend(
{ {
egw.open_link(egw.link('/index.php', { egw.open_link(egw.link('/index.php', {
menuaction: 'filemanager.filemanager_ui.editor', menuaction: 'filemanager.filemanager_ui.editor',
path: template_url, path: template_url
isNew: true }), '', egw.link_get_registry('filemanager','view_popup'));
}), '', '800x600');
} }
}, },