djangocms-admin-style icon indicating copy to clipboard operation
djangocms-admin-style copied to clipboard

Remove double click prevention

Open andre-dasilva opened this issue 4 years ago • 0 comments

The preventDoubleFormSubmissions() does not work well with django admin actions.

If I for example download a pdf file from django admin action (return a HttpResponse in the action) then the button does not work after the first execution (because of the preventDoubleFormSubmissions()). Only after a reload it will work again, which can be annoying for users.

So I would disable / remove this function. Was there a reason for it? The normal django admin does not do this.

andre-dasilva avatar Nov 17 '21 15:11 andre-dasilva