Skip to content

Commit

Permalink
rename liszt: chosen:
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Aug 24, 2016
1 parent 8caad73 commit 983dbf5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions media/jui/js/chosen.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ This file is generated by `grunt build`, do not edit it by hand.
$ = jQuery;

$.fn.extend({
liszt: function(options) {
chosen: function(options) {
if (!AbstractChosen.browser_is_supported()) {
return this;
}
Expand Down Expand Up @@ -640,7 +640,7 @@ This file is generated by `grunt build`, do not edit it by hand.

Chosen.prototype.on_ready = function() {
return this.form_field_jq.trigger("liszt:ready", {
liszt: this
chosen: this
});
};

Expand Down Expand Up @@ -884,7 +884,7 @@ This file is generated by `grunt build`, do not edit it by hand.
Chosen.prototype.results_show = function() {
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
this.form_field_jq.trigger("liszt:maxselected", {
liszt: this
chosen: this
});
return false;
}
Expand All @@ -894,7 +894,7 @@ This file is generated by `grunt build`, do not edit it by hand.
this.search_field.val(this.search_field.val());
this.winnow_results();
return this.form_field_jq.trigger("liszt:showing_dropdown", {
liszt: this
chosen: this
});
};

Expand All @@ -907,7 +907,7 @@ This file is generated by `grunt build`, do not edit it by hand.
this.result_clear_highlight();
this.container.removeClass("chzn-with-drop");
this.form_field_jq.trigger("liszt:hiding_dropdown", {
liszt: this
chosen: this
});
}
return this.results_showing = false;
Expand Down Expand Up @@ -1037,7 +1037,7 @@ This file is generated by `grunt build`, do not edit it by hand.
this.result_clear_highlight();
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
this.form_field_jq.trigger("liszt:maxselected", {
liszt: this
chosen: this
});
return false;
}
Expand Down Expand Up @@ -1134,7 +1134,7 @@ This file is generated by `grunt build`, do not edit it by hand.
no_results_html.find("span").first().html(terms);
this.search_results.append(no_results_html);
return this.form_field_jq.trigger("liszt:no_results", {
liszt: this
chosen: this
});
};

Expand Down

0 comments on commit 983dbf5

Please sign in to comment.