Merge pull request #2275 from coreos-inc/FIX-dockerfile-build-button

fix(dockerfile-build-dialog): disable button until ready
This commit is contained in:
Erica 2017-01-12 11:32:16 -05:00 committed by GitHub
commit 9e612e9e38

View file

@ -59,7 +59,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" ng-click="startBuild()"
ng-disabled="!hasDockerfile || buildStarting"
ng-disabled="!hasDockerfile || buildStarting || !startBuildCallback"
ng-show="!viewTriggers">Start Build</button>
<button type="button" class="btn btn-default" data-dismiss="modal"
ng-disabled="buildStarting">Close</button>