diff --git a/src/Actions/Interactor/Form.php b/src/Actions/Interactor/Form.php index a101a6f3b4..6de4e2673b 100644 --- a/src/Actions/Interactor/Form.php +++ b/src/Actions/Interactor/Form.php @@ -526,9 +526,9 @@ public function addScript() Object.assign(data, {$parameters}); {$this->action->actionScript()} $('#'+modalId).modal('show'); - $(':submit', '#'+modalId).button('reset'); + $('.submit', '#'+modalId).button('reset'); $('#'+modalId+' form').off('submit').on('submit', function (e) { - $(':submit', e.target).button('loading'); + $('.submit', e.target).button('loading'); e.preventDefault(); var form = this; {$this->buildActionPromise()}