From 0e530bd9203e79218e9aad631e8495794a72a042 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 5 Jan 2012 12:12:18 +0000 Subject: Show additional popup dialog on error messages --- program/js/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 27af1ff88..7fe300b0f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5423,6 +5423,8 @@ function rcube_webmail() obj.click(function() { return ref.hide_message(obj); }); } + this.triggerEvent('message', { message:msg, type:type, timeout:timeout, object:obj }); + if (timeout > 0) window.setTimeout(function() { ref.hide_message(id, type == 'loading'); }, timeout); return id; -- cgit v1.2.3