summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-29 17:15:02 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-29 17:15:02 +0000
commit91c1886bb6ed34e154b4269299b6d792833c1f72 (patch)
treef8c5b67044271ef5201fe3f619c1b1c525bcf2df /roundcubemail/program
parent4fac13f50c6f43a6be62e4734df4c233a4a10b57 (diff)
- Add 'loading' message while login is in progress (#1486667)
git-svn-id: https://svn.roundcube.net/trunk@3579 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index e822e10cb..b2888d028 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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;