From: Darren Date: Mon, 20 May 2013 15:11:46 +0000 (+0100) Subject: Notices into the active panel X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2119ce7af52cf1b615939e440450469f1f48ddca;p=KiwiIRC.git Notices into the active panel --- diff --git a/client/assets/dev/model_network.js b/client/assets/dev/model_network.js index e43baa2..a085327 100644 --- a/client/assets/dev/model_network.js +++ b/client/assets/dev/model_network.js @@ -366,6 +366,10 @@ } panel.addMsg('[' + (event.nick||'') + ']', event.msg); + + // Show this notice to the active panel if it didn't have a set target + if (panel === this.panels.server) + _kiwi.app.panels().active.addMsg('[' + (event.nick||'') + ']', event.msg); }