... | ... |
@@ -36,9 +36,7 @@ class Xmpp.Views.Tabbar.TabbarView extends Backbone.View |
36 | 36 |
|
37 | 37 |
@activeTab = tab |
38 | 38 |
@activeTab.setActive() |
39 |
- |
|
40 | 39 |
@activeTab.showChat() |
41 |
-# App.debug ['aktivny tab: ', @activeTab] |
|
42 | 40 |
|
43 | 41 |
hideCurrentChatWindow: -> |
44 | 42 |
if @activeTab |
... | ... |
@@ -46,10 +44,6 @@ class Xmpp.Views.Tabbar.TabbarView extends Backbone.View |
46 | 46 |
@activeTab.hideChat() |
47 | 47 |
|
48 | 48 |
removeTab: (tab) -> |
49 |
-# if @activeTab && @activeTab == tab |
|
50 |
-# App.debug 'nicim tab aj chat window' |
|
51 |
-# @activeTab.destroy() |
|
52 |
- |
|
53 | 49 |
@tabs = _.without(@tabs, tab) |
54 | 50 |
|
55 | 51 |
render: -> |