summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-18 12:51:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-18 12:51:28 +0000
commit8b7791dd775c94115f791a9519ddeb35c168a144 (patch)
tree31c10d11e3b148a2ca31991857c71c1d710c58b1 /roundcubemail/program/js
parent9ae3d89522b753b75c4d2fadc2c736e03aad235f (diff)
- Added About tab in Settings
git-svn-id: https://svn.roundcube.net/trunk@5450 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 254514558..37a29255d 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -155,7 +155,7 @@ function rcube_webmail()
}
// enable general commands
- this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', true);
+ this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', 'about', true);
if (this.env.permaurl)
this.enable_command('permaurl', true);
@@ -504,6 +504,10 @@ function rcube_webmail()
this.switch_task(command);
break;
+ case 'about':
+ location.href = '?_task=settings&_action=about';
+ break;
+
case 'permaurl':
if (obj && obj.href && obj.target)
return true;