Show wait spinner after submit of wizard modal
Upon submitting a wizard modal, such as Launch Instance, the modal remains open and the submit button is disabled. This patch puts a spinner in the submit button as well to show that work is going on in the background. Note: Jenkins keeps failing due to firefox issues, so I'm trying a different download link to see if it helps. Change-Id: Ie800d9cc635d6b92af600e0bfe6846c70b6ca065 Closes-Bug: #1461641
This commit is contained in:
parent
79c2729d5a
commit
d79a11ed4b
@ -85,7 +85,10 @@
|
||||
<button type="button" class="btn btn-primary finish"
|
||||
ng-click="viewModel.onClickFinishBtn()"
|
||||
ng-disabled="wizardForm.$invalid||viewModel.isSubmitting">
|
||||
<span ng-class="::viewModel.btnIcon.finish||'fa fa-check'"></span>
|
||||
<span class="fa"
|
||||
ng-class="viewModel.isSubmitting ? 'fa-spinner fa-spin' :
|
||||
(viewModel.btnIcon.finish || 'fa-check')">
|
||||
</span>
|
||||
<span ng-bind="::viewModel.btnText.finish"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -120,7 +120,7 @@
|
||||
},
|
||||
|
||||
btnIcon: {
|
||||
finish: 'fa fa-cloud-upload'
|
||||
finish: 'fa-cloud-upload'
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user