Commit | Line | Data |
---|---|---|
9df70c63 | 1 | kiwi.model.Server = kiwi.model.Panel.extend({\r |
72371b1a D |
2 | // Used to determine if this is a server panel\r |
3 | server: true,\r | |
4 | \r | |
9df70c63 D |
5 | initialize: function (attributes) {\r |
6 | var name = "Server";\r | |
7 | this.view = new kiwi.view.Panel({"model": this, "name": name});\r | |
8 | this.set({\r | |
9 | "scrollback": [],\r | |
10 | "name": name\r | |
11 | }, {"silent": true});\r | |
12 | \r | |
13 | //this.addMsg(' ', '--> Kiwi IRC: Such an awesome IRC client', '', {style: 'color:#009900;'});\r | |
14 | \r | |
15 | this.server_login = new kiwi.view.ServerSelect();\r | |
16 | \r | |
17 | this.view.$el.append(this.server_login.$el);\r | |
18 | this.server_login.show();\r | |
19 | }\r | |
20 | }); |