From d194267906476fff4702358c9c1c814a3dd135ef Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Wed, 17 Oct 2007 05:17:01 -0400 Subject: [PATCH] Clean up code overlap. --- program/js/app.js | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 86d2eb6..c33c346 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2556,20 +2556,9 @@ }; - // 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); -- Gitblit v1.9.1