Skip to content

Commit

Permalink
fix(billingServices): cancel btn does not validate
Browse files Browse the repository at this point in the history
This commit tells angular not to validate the form when the cancel
button is pressed.

Closes #700.
  • Loading branch information
Jonathan Niles authored and jniles committed Sep 28, 2016
1 parent 6aba69c commit d0bd883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/partials/billing_services/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h4>{{ BillingServicesFormCtrl.title | translate }}<span ng-show="BillingService
{{ "FORM.BUTTONS.SUBMIT" | translate }}
</bh-loading-button>

<button class="btn btn-default" data-method="back" ng-click="BillingServicesFormCtrl.dismiss()">
<button type="button" class="btn btn-default" data-method="back" ng-click="BillingServicesFormCtrl.dismiss()">
{{ "FORM.BUTTONS.BACK" | translate }}
</button>
</div>
Expand Down

0 comments on commit d0bd883

Please sign in to comment.