Skip to content

Commit 535bea0

Browse files
committed
replace chosen: with liszt:
1 parent 2686df5 commit 535bea0

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

media/jui/js/chosen.jquery.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ This file is generated by `grunt build`, do not edit it by hand.
561561
$ = jQuery;
562562

563563
$.fn.extend({
564-
chosen: function(options) {
564+
liszt: function(options) {
565565
if (!AbstractChosen.browser_is_supported()) {
566566
return this;
567567
}
@@ -639,8 +639,8 @@ This file is generated by `grunt build`, do not edit it by hand.
639639
};
640640

641641
Chosen.prototype.on_ready = function() {
642-
return this.form_field_jq.trigger("chosen:ready", {
643-
chosen: this
642+
return this.form_field_jq.trigger("liszt:ready", {
643+
liszt: this
644644
});
645645
};
646646

@@ -687,16 +687,16 @@ This file is generated by `grunt build`, do not edit it by hand.
687687
this.search_results.bind('touchend.chosen', function(evt) {
688688
_this.search_results_touchend(evt);
689689
});
690-
this.form_field_jq.bind("chosen:updated.chosen", function(evt) {
690+
this.form_field_jq.bind("liszt:updated.chosen", function(evt) {
691691
_this.results_update_field(evt);
692692
});
693-
this.form_field_jq.bind("chosen:activate.chosen", function(evt) {
693+
this.form_field_jq.bind("liszt:activate.chosen", function(evt) {
694694
_this.activate_field(evt);
695695
});
696-
this.form_field_jq.bind("chosen:open.chosen", function(evt) {
696+
this.form_field_jq.bind("liszt:open.chosen", function(evt) {
697697
_this.container_mousedown(evt);
698698
});
699-
this.form_field_jq.bind("chosen:close.chosen", function(evt) {
699+
this.form_field_jq.bind("liszt:close.chosen", function(evt) {
700700
_this.input_blur(evt);
701701
});
702702
this.search_field.bind('blur.chosen', function(evt) {
@@ -883,8 +883,8 @@ This file is generated by `grunt build`, do not edit it by hand.
883883

884884
Chosen.prototype.results_show = function() {
885885
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
886-
this.form_field_jq.trigger("chosen:maxselected", {
887-
chosen: this
886+
this.form_field_jq.trigger("liszt:maxselected", {
887+
liszt: this
888888
});
889889
return false;
890890
}
@@ -893,8 +893,8 @@ This file is generated by `grunt build`, do not edit it by hand.
893893
this.search_field.focus();
894894
this.search_field.val(this.search_field.val());
895895
this.winnow_results();
896-
return this.form_field_jq.trigger("chosen:showing_dropdown", {
897-
chosen: this
896+
return this.form_field_jq.trigger("liszt:showing_dropdown", {
897+
liszt: this
898898
});
899899
};
900900

@@ -906,8 +906,8 @@ This file is generated by `grunt build`, do not edit it by hand.
906906
if (this.results_showing) {
907907
this.result_clear_highlight();
908908
this.container.removeClass("chzn-with-drop");
909-
this.form_field_jq.trigger("chosen:hiding_dropdown", {
910-
chosen: this
909+
this.form_field_jq.trigger("liszt:hiding_dropdown", {
910+
liszt: this
911911
});
912912
}
913913
return this.results_showing = false;
@@ -1036,8 +1036,8 @@ This file is generated by `grunt build`, do not edit it by hand.
10361036
high = this.result_highlight;
10371037
this.result_clear_highlight();
10381038
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
1039-
this.form_field_jq.trigger("chosen:maxselected", {
1040-
chosen: this
1039+
this.form_field_jq.trigger("liszt:maxselected", {
1040+
liszt: this
10411041
});
10421042
return false;
10431043
}
@@ -1133,8 +1133,8 @@ This file is generated by `grunt build`, do not edit it by hand.
11331133
no_results_html = $('<li class="no-results">' + this.results_none_found + ' "<span></span>"</li>');
11341134
no_results_html.find("span").first().html(terms);
11351135
this.search_results.append(no_results_html);
1136-
return this.form_field_jq.trigger("chosen:no_results", {
1137-
chosen: this
1136+
return this.form_field_jq.trigger("liszt:no_results", {
1137+
liszt: this
11381138
});
11391139
};
11401140

0 commit comments

Comments
 (0)