Fix create token form in the repo-admin view. We had to add type="button" to the delete-ui button so that clicking it doesn't submit the form (and keep the focus there)
This commit is contained in:
parent
a661ef4fa8
commit
af32b53a4e
3 changed files with 8 additions and 6 deletions
|
@ -180,7 +180,7 @@
|
|||
|
||||
<tr>
|
||||
<td class="admin-search">
|
||||
<input type="text" class="form-control" placeholder="New token description" ng-model="newToken.friendlyName" required>
|
||||
<input type="text" class="form-control" placeholder="New token description" ng-model="newTokenName" required>
|
||||
</td>
|
||||
<td class="admin-search">
|
||||
<button type="submit" ng-disabled="createTokenForm.$invalid" class="btn btn-sm btn-default">Create</button>
|
||||
|
|
Reference in a new issue