summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-10-17 09:17:01 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-10-17 09:17:01 +0000
commit6eda4a37efdf912a354a7549b49816126e24cc50 (patch)
tree7500fe12cecc35ed75dccccf6432b9780ba3f459
parent536872f6242db683f1dd880d5d3c830b8c91dc0f (diff)
Clean up code overlap.
git-svn-id: https://svn.roundcube.net/trunk@879 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js15
1 files changed, 2 insertions, 13 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 86d2eb6cf..c33c3464f 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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);