mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Merge pull request #3526 from jakemcdermott/fix-3524
use test callback from test form save hooks
This commit is contained in:
@@ -5,6 +5,10 @@ function ExternalTestModalController (strings) {
|
|||||||
|
|
||||||
vm.strings = strings;
|
vm.strings = strings;
|
||||||
vm.title = strings.get('externalTest.TITLE');
|
vm.title = strings.get('externalTest.TITLE');
|
||||||
|
|
||||||
|
vm.$onInit = () => {
|
||||||
|
vm.form.save = () => vm.onSubmit();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
ExternalTestModalController.$inject = [
|
ExternalTestModalController.$inject = [
|
||||||
|
|||||||
@@ -6,7 +6,10 @@ function InputSourceLookupController (strings, wait) {
|
|||||||
vm.strings = strings;
|
vm.strings = strings;
|
||||||
vm.title = strings.get('inputSources.TITLE');
|
vm.title = strings.get('inputSources.TITLE');
|
||||||
|
|
||||||
vm.$onInit = () => wait('start');
|
vm.$onInit = () => {
|
||||||
|
wait('start');
|
||||||
|
vm.form.save = () => vm.onTest();
|
||||||
|
};
|
||||||
|
|
||||||
vm.onReady = () => {
|
vm.onReady = () => {
|
||||||
vm.isReady = true;
|
vm.isReady = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user