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