projects
/
KiwiIRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Notices into the active panel
[KiwiIRC.git]
/
client
/
assets
/
dev
/
model_network.js
diff --git
a/client/assets/dev/model_network.js
b/client/assets/dev/model_network.js
index e43baa29bc9378de3d36c6323af23c5ce077f336..a085327bc0aafc6bf3736025eb537a4b410a582b 100644
(file)
--- 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);
}