It is currently possible to submit twice, when the server response is slow. It is better to disable the submit button after submit, to prevent a double submit / improve user experience.
For all (default) submit buttons in Integrated
After click submit: disable the submit button and add a spinner animation
Use the disabled / animation from "Demo 6" on http://jeremypeters.github.io/ng-bs-animated-button/ (skip the text change and the smile)
.Schatting van 5 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Maartje Wessels-Wouda).
Waar kan dit gedployed worden?
Ik heb de code uit de demo niet gebruikt, daar wordt gebruik gemaakt van angular, dus hebben we besloten het zelf te maken.
Test results: in case of HTML5 validation errors the button is disabled and the form can't be resubmitted. For example: edit a channel and leave the color empty.
(besides that is works very nice)
Updated, ready for deploy/test