Remove unneeded ng-click from submit buttons.

This commit is contained in:
Alexis Lahouze 2017-07-04 21:57:54 +02:00
parent 4fdbb40e92
commit 4fed3c9320
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
</div>
<div class="modal-footer">
<input class="btn btn-primary" type="submit" ng-click="$ctrl.ok()" ng-disabled="form.$invalid"/>
<input class="btn btn-primary" type="submit" ng-disabled="form.$invalid"/>
<button class="btn btn-default" type="button" ng-click="$ctrl.cancel()">
Annuler
</button>

View File

@ -23,7 +23,7 @@
</div>
<div class="modal-footer">
<input class="btn btn-primary" type="submit" ng-click="$ctrl.ok()" value="OK"/>
<input class="btn btn-primary" type="submit" value="OK"/>
<button class="btn btn-default" type="button" ng-click="$ctrl.cancel()">
Annuler
</button>