From d194267906476fff4702358c9c1c814a3dd135ef Mon Sep 17 00:00:00 2001 From: svncommit Date: Wed, 17 Oct 2007 09:17:01 +0000 Subject: Clean up code overlap. --- program/js/app.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 86d2eb6cf..c33c3464f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2556,20 +2556,9 @@ function rcube_webmail() }; - // entry point for folder renaming - this.rename_folder = function(props) - { - var form, oldname, newname; - - // rename a specific mailbox - if (props) - this.edit_foldername(props); - }; - - - // start editing the mailbox name. + // start renaming the mailbox name. // this will replace the name string with an input field - this.edit_foldername = function(folder) + this.rename_folder = function(folder) { var temp, row, form; var id = this.get_folder_row_id(folder); -- cgit v1.2.3