From a5e09a0ea64dc2b9548787c1e34b34ef4a66f26f Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 25 Jul 2014 18:52:58 +0200 Subject: [PATCH] Enable fullscreen mode on file preview frame --- plugins/kolab_files/lib/kolab_files_engine.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php index 01fc7d36..425f3bef 100644 --- a/plugins/kolab_files/lib/kolab_files_engine.php +++ b/plugins/kolab_files/lib/kolab_files_engine.php @@ -472,8 +472,9 @@ class kolab_files_engine $this->rc->output->add_gui_object('preview_frame', $attrib['id']); - $attrib['src'] = $href; - $attrib['onload'] = 'kolab_files_frame_load(this)'; + $attrib['allowfullscreen'] = true; + $attrib['src'] = $href; + $attrib['onload'] = 'kolab_files_frame_load(this)'; return html::iframe($attrib); }