summaryrefslogtreecommitdiff
path: root/plugins/kolab_files
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-07-25 16:52:58 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-07-25 16:52:58 (GMT)
commita5e09a0ea64dc2b9548787c1e34b34ef4a66f26f (patch)
tree9d7f598f5663190066bedb510aa3b13e85c48206 /plugins/kolab_files
parent12f4a44fdde455bc73e1fd3d72ce06dacdf76c6c (diff)
downloadroundcubemail-plugins-kolab-a5e09a0ea64dc2b9548787c1e34b34ef4a66f26f.tar.gz
Enable fullscreen mode on file preview frame
Diffstat (limited to 'plugins/kolab_files')
-rw-r--r--plugins/kolab_files/lib/kolab_files_engine.php5
1 files 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 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);
}