diff options
author | alecpl <alec@alec.pl> | 2011-11-18 12:51:28 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-11-18 12:51:28 +0000 |
commit | 45fa64c3c9801f9719638f7fa2f4f11cc6505647 (patch) | |
tree | 447044dad25fdbfb6fd4b78e289581370801e593 /program/js/app.js | |
parent | 307e68421150c079b033522552a54a99a907bbdc (diff) |
- Added About tab in Settings
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 254514558..37a29255d 100644 --- a/program/js/app.js +++ b/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; |