Skip to content

Commit

Permalink
Sets default template for tabs for a better kandan
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Mar 26, 2012
1 parent b756870 commit 615f75d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assets/javascripts/backbone/kandan.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ window.Kandan =
Kandan.Data.Channels.run_callbacks('change')
})

$("#channels").tabs 'option', 'tabTemplate', '''
<li>
<a href="#{href}">#{label}</a>
<span class="ui-icon ui-icon-close">x</span>
</li>
'''

Kandan.Widgets.init_all()
})
Expand Down

0 comments on commit 615f75d

Please sign in to comment.