cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to e8e4961
Date Tue, 26 Aug 2014 20:38:49 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 182a0786b -> e8e496187


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)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e8e49618
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e8e49618
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e8e49618

Branch: refs/heads/master
Commit: e8e496187c98bf54dc393296b49f6e034fcb7139
Parents: 182a078
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Aug 26 13:37:11 2014 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Aug 26 13:37:11 2014 -0700

----------------------------------------------------------------------
 ui/scripts/instanceWizard.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e8e49618/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index 9df6ecc..5664cce 100644
--- a/ui/scripts/instanceWizard.js
+++ b/ui/scripts/instanceWizard.js
@@ -895,6 +895,11 @@
             	});
             }
 
+            $(window).trigger('cloudStack.deployVirtualMachine', {
+                deployVmData: deployVmData,
+                formData: args.data
+            });
+
             $.ajax({
                 url: createURL('deployVirtualMachine'),
                 data: deployVmData,


Mime
View raw message