summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-19 13:46:42 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-19 13:46:42 +0000
commit5e39876c1d775bfb08ff099a019a358ce49712ca (patch)
tree68c0407542174b07a1222d0fc83732abb802a77f /roundcubemail/program
parent49c259fcddfdd03f8631cee69c6869c6fe4d2220 (diff)
- Fix: selecting Preferences tab doesn't work after clicking other tab
git-svn-id: https://svn.roundcube.net/trunk@4430 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 6be810396..786915a15 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -652,7 +652,7 @@ function rcube_webmail()
input_email.focus();
break;
}
-
+
// clear empty input fields
$('input.placeholder').each(function(){ if (this.value == this._placeholder) this.value = ''; });
}
@@ -1015,7 +1015,7 @@ function rcube_webmail()
this.goto_url('export', { _source:this.env.source, _gid:this.env.group, _search:this.env.search_request });
}
break;
-
+
case 'upload-photo':
this.upload_contact_photo(props);
break;
@@ -1026,15 +1026,9 @@ function rcube_webmail()
// user settings commands
case 'preferences':
- this.goto_url('');
- break;
-
case 'identities':
- this.goto_url('settings/identities');
- break;
-
case 'folders':
- this.goto_url('settings/folders');
+ this.goto_url('settings/' + command);
break;
// unified command call (command name == function name)