mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
065182c586
refs https://github.com/TryGhost/Ghost/issues/10137 - when closing the edit webhook modal we were rolling back the changed attributes of the webhook model but not clearing the errors object which meant a validation error was shown when re-opening the edit webhook modal - add `reset()` method to the webhook edit controller and call that when leaving the edit route instead of only rolling back the changed attributes |
||
---|---|---|
.. | ||
edit.js | ||
new.js |