summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-24 08:54:34 +0000
committeralecpl <alec@alec.pl>2010-08-24 08:54:34 +0000
commit70cfb42839b8a87e9dbc99f9060c494590adb5e6 (patch)
treecfaa658ae79e6b154e0dcd2973691082c4115112
parent554d79378012abd2d8d3b13e9a94173955809857 (diff)
- Unset message type after hidding it
-rw-r--r--program/js/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 1e3da6d3b..4df147b53 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4509,8 +4509,10 @@ function rcube_webmail()
// make a message row disapear
this.hide_message = function(fade)
{
- if (this.gui_objects.message)
+ if (this.gui_objects.message) {
$(this.gui_objects.message).unbind()[(fade?'fadeOut':'hide')]();
+ this.gui_objects.message.__type = null;
+ }
};
// get type of currently displayed message