From 3a2b270c9d1f531c2e2d1c422a4756afd639ef47 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 15 Jun 2009 07:01:36 +0000 Subject: - always call logout action as task (#1485919) --- program/js/app.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 218351ca3..216bebc80 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -367,9 +367,6 @@ function rcube_webmail() break; } - // enable basic commands - this.enable_command('logout', true); - // flag object as complete this.loaded = true; @@ -551,14 +548,11 @@ function rcube_webmail() this.gui_objects.loginform.submit(); break; - case 'logout': - this.goto_url('logout', '', true); - break; - // commands to switch task case 'mail': case 'addressbook': case 'settings': + case 'logout': this.switch_task(command); break; -- cgit v1.2.3