summaryrefslogtreecommitdiff
path: root/program
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 /program
parent3978d28ecd6c615635937419b6749dfac75bf768 (diff)
- Add 'loading' message while login is in progress (#1486667)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js5
1 files changed, 5 insertions, 0 deletions
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;