Skip to content

Commit

Permalink
Add a .nospin class to all on-page cake error and warning links (COma…
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Sep 30, 2024
1 parent 31905e6 commit 14e6c2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/templates/element/javascript.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@
$('table.index-table.bulk-edit-mode .form-check-input').prop('checked', false);
}
});


// Add a .nospin class to all on-page cake error and warning links
$(".cake-error a").addClass('nospin');

// Add loading animation when a form is submitted, when any item with a "spin" class is clicked,
// or on any anchor tag lacking the .nospin class. We do not automatically add this to buttons
// because they are often on-page controls. Add a "spin" class to buttons that need it.
Expand Down

0 comments on commit 14e6c2c

Please sign in to comment.