diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-30 15:32:13 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-30 15:32:13 +0000 |
| commit | fb0b1852a67b9fb1b00cc6f148aacc7455dfc605 (patch) | |
| tree | 308ff10eeb646c20497ff0a6ede7302c2d3e2096 /roundcubemail/program/js/app.js | |
| parent | 948e277ba4b6e3e7fa5263104ccc6cac7aea898b (diff) | |
Log session validation errors; keep error message when redirecting to login after session error
git-svn-id: https://svn.roundcube.net/trunk@4991 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index da445a39c..a9ed9adbe 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -5153,7 +5153,8 @@ function rcube_webmail() obj.click(function() { return ref.hide_message(obj); }); } - window.setTimeout(function() { ref.hide_message(id, type == 'loading'); }, timeout); + if (timeout > 0) + window.setTimeout(function() { ref.hide_message(id, type == 'loading'); }, timeout); return id; }; |
