| ... | ... |
@@ -2,11 +2,6 @@ Xmpp.Views.Contacts ||= {}
|
| 2 | 2 |
|
| 3 | 3 |
class Xmpp.Views.Contacts.ListView extends Backbone.View |
| 4 | 4 |
template: JST["backbone/templates/contacts/contact_list"] |
| 5 |
- contactViews: [] |
|
| 6 |
- |
|
| 7 |
- titleClass = '' |
|
| 8 |
- listClass = '' |
|
| 9 |
- activeGroup = false |
|
| 10 | 5 |
|
| 11 | 6 |
initialize: () -> |
| 12 | 7 |
_.bindAll(this) |
| ... | ... |
@@ -14,6 +9,10 @@ class Xmpp.Views.Contacts.ListView extends Backbone.View |
| 14 | 14 |
@el = '#' + @attributes['id'] |
| 15 | 15 |
@title = I18n.t(@attributes['title']) |
| 16 | 16 |
|
| 17 |
+ @titleClass = @listClass = '' |
|
| 18 |
+ @activeGroup = false |
|
| 19 |
+ @contactViews = [] |
|
| 20 |
+ |
|
| 17 | 21 |
Backbone.Events.on('removeContact', @detachContact)
|
| 18 | 22 |
|
| 19 | 23 |
createListContainer: -> |