From 70a71cdfa78db3b1afdd3fba9112c08ac4208d6a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 7 Jun 2013 13:04:32 +0200 Subject: [PATCH] Cleanup --- plugins/kolab_files/kolab_files.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js index 14952089..9bf7b82e 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) {