summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-10-17 09:17:01 +0000
committersvncommit <devs@roundcube.net>2007-10-17 09:17:01 +0000
commitd194267906476fff4702358c9c1c814a3dd135ef (patch)
tree130f922af7e8641a3a3b31039b81779e46d4e0b0 /program/js
parent18197044382034fb26ef862e8d88b89c4e14593b (diff)
Clean up code overlap.
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js15
1 files 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);