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