mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
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…
x
Reference in New Issue
Block a user