summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-29 17:15:02 +0000
committeralecpl <alec@alec.pl>2010-04-29 17:15:02 +0000
commitcecf46a41ba2578274665eb64788347c2da570c5 (patch)
treeb8f890b1e11bb2f2222debf5bcfb751aab0275ac
parent3978d28ecd6c615635937419b6749dfac75bf768 (diff)
- Add 'loading' message while login is in progress (#1486667)
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/app.js5
2 files changed, 6 insertions, 0 deletions
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;