summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;