mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
if there is a validation error re enable the button
This commit is contained in:
parent
bebe94a128
commit
69c3f48c1e
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ define [
|
|||
completeSubscription = (err, recurly_token_id) ->
|
||||
$scope.validation.errorFields = {}
|
||||
if err?
|
||||
$scope.processing = false
|
||||
$scope.genericError = err.message
|
||||
_.each err.fields, (field)-> $scope.validation.errorFields[field] = true
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue