File tree 1 file changed +1
-13
lines changed
app/assets/javascripts/backbone
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -71,25 +71,13 @@ window.Kandan =
71
71
chatbox = new Kandan.Views.Chatbox ()
72
72
$ (" .main-area" ).append (chatbox .render ().el )
73
73
$ (' #channels' ).tabs ({
74
- # tabTemplate: '''
75
- # <li>
76
- # <a href="#{href}">#{label}</a>
77
- # Dude<span class="ui-icon ui-icon-close">Remove Tab</span>
78
- # </li>
79
- # ''',
80
-
81
74
select : (event , ui )->
82
75
$ (document ).data (' active_channel_id' ,
83
76
Kandan .Helpers .Channels .get_channel_id_from_tab_index (ui .index ))
84
77
console .log " channel changed to index" , ui .index
85
78
Kandan .Data .Channels .run_callbacks (' change' )
86
79
})
87
- $ (" #channels" ).tabs (' option' , ' tabTemplate' , '''
88
- <li>
89
- <a href="#{href}">#{label}</a>
90
- <span class="ui-icon ui-icon-close">x</span>
91
- </li>
92
- ''' )
80
+
93
81
94
82
Kandan .Widgets .init_all ()
95
83
})
You can’t perform that action at this time.
0 commit comments