From cecf46a41ba2578274665eb64788347c2da570c5 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 29 Apr 2010 17:15:02 +0000 Subject: [PATCH] - Add 'loading' message while login is in progress (#1486667) --- CHANGELOG | 1 + program/js/app.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 0436be572..e81dbcef7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Add 'loading' message while login is in progress (#1486667) - Fix quota_zero_as_unlimited (#1486662) - Fix folder subscription checking (#1486684) - Fix INBOX appears (sometimes) twice in mailbox list (#1486672) diff --git a/program/js/app.js b/program/js/app.js index e822e10cb..b2888d028 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -370,6 +370,11 @@ function rcube_webmail() // detect client timezone $('#rcmlogintz').val(new Date().getTimezoneOffset() / -60); + // display 'loading' message on form submit + $('form').submit(function () { + rcmail.display_message(rcmail.get_label('loading'), 'loading', true); + }); + this.enable_command('login', true); break;