locustio/locust — pull request #167 by fordhurley (2014-06-24 12:08:49+00:00)
Title: Handle invalid inputs in "start swarm" form better

With this change, the user will now see an alert with an error message if the inputs in the "Start new Locust swarm" or "Change the locust count" forms are invalid. Validation before sending it to the backend would be even better, but this is an easy stopgap so that the user at least sees *something* happen after clicking "start".