From: Jan Schneider Date: Mon, 17 May 2010 22:38:37 +0000 (+0200) Subject: Don't encode notifications with content.raw flag, and redirect embedded links to... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=58784d4a15e8df4e8c3fea2209ec43c21f98e575;p=horde.git Don't encode notifications with content.raw flag, and redirect embedded links to iframe. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 52beeff8c..1d5d214e5 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -212,12 +212,16 @@ KronolithCore = { case 'horde.warning': case 'horde.message': case 'horde.success': - this.Growler.growl(m.message.escapeHTML(), { - className: m.type.replace('.', '-'), - life: 8, - log: true, - sticky: m.type == 'horde.error' - }); + this.Growler.growl( + m.flags.include('content.raw') + ? m.message.replace(/