src/rails_admin/ui.js in rails_admin-3.0.0.rc3 vs src/rails_admin/ui.js in rails_admin-3.0.0.rc4
- old
+ new
@@ -96,9 +96,13 @@
form.trigger("submit");
});
$.each($("#filters_box").data("options"), function () {
$.filters.append(this);
});
+ // Workaround for https://github.com/heartcombo/devise/issues/5458
+ $("a[data-method]").on("click", function (event) {
+ window.Turbo.session.drive = false;
+ });
});
$(document).on("click", ".bulk-link", function (event) {
event.preventDefault();
$("#bulk_action").val($(this).data("action"));