mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +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 () {
|
||||
// form.submit() would be better as it wouldn't rely on an id,
|
||||
// but the form might rely on knowing which button was clicked.
|
||||
$("#apply-bulk-actions").click();
|
||||
$(this).closest("form").find(".apply-bulk-actions-auto:first").click();
|
||||
});
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user