From 91c1886bb6ed34e154b4269299b6d792833c1f72 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 29 Apr 2010 17:15:02 +0000 Subject: - Add 'loading' message while login is in progress (#1486667) git-svn-id: https://svn.roundcube.net/trunk@3579 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roundcubemail/program') 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; -- cgit v1.2.3