From 2119ce7af52cf1b615939e440450469f1f48ddca Mon Sep 17 00:00:00 2001 From: Darren Date: Mon, 20 May 2013 16:11:46 +0100 Subject: [PATCH] Notices into the active panel --- client/assets/dev/model_network.js | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.25.1