mirror of https://github.com/apache/cloudstack.git
Instance wizard: Add 'deployVirtualMachine' event hook
For UI plugin development, add new event 'cloudStack.deployVirtualMachine' -- This passes the wizard form data and all parameters that will be passed to deployVirtualMachine; allows plugin to extend data to pass additonal data automatically (i.e, custom form fields)
This commit is contained in:
parent
182a0786bd
commit
e8e496187c
|
|
@ -895,6 +895,11 @@
|
|||
});
|
||||
}
|
||||
|
||||
$(window).trigger('cloudStack.deployVirtualMachine', {
|
||||
deployVmData: deployVmData,
|
||||
formData: args.data
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
url: createURL('deployVirtualMachine'),
|
||||
data: deployVmData,
|
||||
|
|
|
|||
Loading…
Reference in New Issue