plugins/kolab_files
Aleksander Machniak
machniak at kolabsys.com
Fri Jun 7 13:04:42 CEST 2013
plugins/kolab_files/kolab_files.js | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
New commits:
commit 70a71cdfa78db3b1afdd3fba9112c08ac4208d6a
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Fri Jun 7 13:04:32 2013 +0200
Cleanup
diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
index 1495208..9bf7b82 100644
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -83,7 +83,7 @@ window.rcmail && rcmail.addEventListener('init', function() {
}
// "one file only" commands
- rcmail.env.file_commands = ['files-get', 'files-edit'];
+ rcmail.env.file_commands = ['files-get'];
// "one or more file" commands
rcmail.env.file_commands_all = ['files-delete', 'files-move', 'files-copy'];
@@ -666,14 +666,6 @@ rcube_webmail.prototype.files_open = function()
file_api.file_open(files[0], rcmail.env.viewer);
};
-rcube_webmail.prototype.files_edit = function()
-{
- var files = this.env.file ? [this.env.file] : kolab_files_selected();
-
- if (files.length == 1)
- file_api.file_edit_start(files[0]);
-};
-
rcube_webmail.prototype.files_set_quota = function(p)
{
if (p.total) {
More information about the commits
mailing list