mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing taxonomy tags / autocomplete script to use "on" instead of "live", which was depracated since jQuery 1.7 and removed as of 1.9.
--HG-- branch : 1.x
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
$(".no-terms", $wrapper).hide();
|
||||
};
|
||||
|
||||
$("fieldset.taxonomy-wrapper .expando input[data-term]:enabled").live("change", function (e) {
|
||||
$("fieldset.taxonomy-wrapper .expando").on("change", "input[data-term]:enabled", function(e) {
|
||||
var $checkbox = $(this);
|
||||
var term = $checkbox.data("term");
|
||||
var $wrapper = $checkbox.parents("fieldset.taxonomy-wrapper:first");
|
||||
|
Reference in New Issue
Block a user