// Best guess at where the kiwi server is\r
this.detectKiwiServer();\r
\r
- // Takes instances of model_network\r
- this.connections = new _kiwi.model.NetworkPanelList();\r
-\r
// Set any default settings before anything else is applied\r
if (this.server_settings && this.server_settings.client && this.server_settings.client.settings) {\r
this.applyDefaultClientSettings(this.server_settings.client.settings);\r
this.initializeClient = function () {\r
this.view = new _kiwi.view.Application({model: this, el: this.get('container')});\r
\r
+ // Takes instances of model_network\r
+ this.connections = new _kiwi.model.NetworkPanelList();\r
+\r
// Applets panel list\r
this.applet_panels = new _kiwi.model.PanelList();\r
this.applet_panels.view.$el.addClass('panellist applets');\r
this.model.on('add', this.networkAdded, this);
this.model.on('remove', this.networkRemoved, this);
- this.$el.appendTo($('#kiwi .tabs'));
+ this.$el.appendTo(_kiwi.app.view.$el.find('.tabs'));
},
networkAdded: function(network) {