summaryrefslogtreecommitdiff
path: root/plugins/kolab_files/lib/kolab_files_engine.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2013-06-12 10:37:48 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-06-12 10:37:48 (GMT)
commitef663058c72c6039d24594266f1b7fdc61ec2bc6 (patch)
tree856791c8c890b71702a1341531fa064caeaaf0d9 /plugins/kolab_files/lib/kolab_files_engine.php
parentb602913ce3206f1bcfc728c1936dc530ca18f914 (diff)
downloadroundcubemail-plugins-kolab-ef663058c72c6039d24594266f1b7fdc61ec2bc6.tar.gz
Implemented text file edition, other improvements
Diffstat (limited to 'plugins/kolab_files/lib/kolab_files_engine.php')
-rw-r--r--plugins/kolab_files/lib/kolab_files_engine.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index 467459d..022fd3e 100644
--- a/plugins/kolab_files/lib/kolab_files_engine.php
+++ b/plugins/kolab_files/lib/kolab_files_engine.php
@@ -444,7 +444,10 @@ class kolab_files_engine
$this->rc->output->add_gui_object('preview_frame', $attrib['id']);
- return html::iframe(array('id' => 'file-content', 'src' => $href));
+ $attrib['src'] = $href;
+ $attrib['onload'] = 'kolab_files_frame_load(this)';
+
+ return html::iframe($attrib);
}
/**