Tabview completely removed
[KiwiIRC.git] / client / js / model.js
index 15443a21ca07c36122defbb412c7f0c8094f1b10..d5d490abefcb3c330d6e173028b848d544e08239 100755 (executable)
@@ -133,13 +133,15 @@ kiwi.model.ChannelList = Backbone.Collection.extend({
     }\r
 });\r
 \r
+// TODO: Channel modes\r
 kiwi.model.Channel = Backbone.Model.extend({\r
     initialize: function (attributes) {\r
         var name = this.get("name") || "";\r
         this.set({\r
             "members": new kiwi.model.MemberList(),\r
             "name": name,\r
-            "backscroll": []\r
+            "backscroll": [],\r
+            "topic": ""\r
         }, {"silent": true});\r
         this.view = new kiwi.view.Channel({"model": this, "name": name});\r
     },\r