Boilerplate icon indicating copy to clipboard operation
Boilerplate copied to clipboard

Change the delete a:link with a submit button

Open has-oumar opened this issue 4 years ago • 0 comments

I'm suggesting that you change the a:href link inside the the delete forms <a href="javascript:$('#[email protected]').submit();" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</a>with a submit button <button type="submit" class="dropdown-item"><i class="fas fa-trash-alt"></i> Delete</button>, because what we have now does show the confirm dialog indeed but when you click any of the confirmation dialog buttons the result is just a redirection to empty content.

has-oumar avatar Feb 11 '21 07:02 has-oumar