From 45fa64c3c9801f9719638f7fa2f4f11cc6505647 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 18 Nov 2011 12:51:28 +0000 Subject: - Added About tab in Settings --- program/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'program/js') 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; -- cgit v1.2.3