projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84cfc31
)
Removing server tabs when connection is removed
author
Darren
<darren@darrenwhitlen.com>
Mon, 4 Aug 2014 16:09:37 +0000
(17:09 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Mon, 4 Aug 2014 16:09:37 +0000
(17:09 +0100)
client/src/views/networktabs.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/networktabs.js
b/client/src/views/networktabs.js
index 1e756920d0bf2883decaefd807732c5538a8e7aa..c814960c0376cd8130027071c41d6bfbf9d24f2f 100644
(file)
--- a/
client/src/views/networktabs.js
+++ b/
client/src/views/networktabs.js
@@
-17,6
+17,9
@@
_kiwi.view.NetworkTabs = Backbone.View.extend({
},
networkRemoved: function(network) {
+ // Remove the containing list element
+ network.panels.view.$el.parent().remove();
+
network.panels.view.remove();
_kiwi.app.view.doLayout();