From 70cfb42839b8a87e9dbc99f9060c494590adb5e6 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 24 Aug 2010 08:54:34 +0000 Subject: - Unset message type after hidding it --- program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program') 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 -- cgit v1.2.3