plugins/kolab_files

Aleksander Machniak machniak at kolabsys.com
Fri Jul 25 18:53:28 CEST 2014


 plugins/kolab_files/lib/kolab_files_engine.php |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit a5e09a0ea64dc2b9548787c1e34b34ef4a66f26f
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Fri Jul 25 18:52:58 2014 +0200

    Enable fullscreen mode on file preview frame

diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index 01fc7d3..425f3be 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);
     }




More information about the commits mailing list