Auto-submit filters just use the first apply button in the form, no id required.

--HG--
branch : dev
This commit is contained in:
Dave Reed
2011-03-09 17:03:33 -08:00
parent d7add40ed1
commit 05512f4781

View File

@@ -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);