Skip to content

Commit

Permalink
restore new option template
Browse files Browse the repository at this point in the history
  • Loading branch information
koenpunt committed Feb 5, 2018
1 parent 88bcf6a commit 33dabcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coffee/chosen.proto.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class @Chosen extends AbstractChosen

# HTML Templates
@no_results_temp = new Template(this.get_no_results_html('#{terms}'))
@new_option_temp = new Template('<option value="#{value}">#{text}</option>')
@create_option_temp = new Template('<li class="create-option active-result"><a>#{text}</a>: "#{terms}"</li>')

set_up_html: ->
Expand Down

0 comments on commit 33dabcf

Please sign in to comment.