mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Auto-submit filters just use the first apply button in the form, no id required.
--HG-- branch : dev
This commit is contained in:
@@ -58,8 +58,6 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(".bulk-actions-auto select").change(function () {
|
$(".bulk-actions-auto select").change(function () {
|
||||||
// form.submit() would be better as it wouldn't rely on an id,
|
$(this).closest("form").find(".apply-bulk-actions-auto:first").click();
|
||||||
// but the form might rely on knowing which button was clicked.
|
|
||||||
$("#apply-bulk-actions").click();
|
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
Reference in New Issue
Block a user