You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2013/02/14 20:57:52 UTC

[2/50] [abbrv] git commit: refs/heads/qemu-img - UI Plugins, API call helper: Add 'pollAyncJobResult' helper, allow passing data

UI Plugins, API call helper: Add 'pollAyncJobResult' helper, allow passing data


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

Branch: refs/heads/qemu-img
Commit: 6e02fb96c9d88da321481bde4e90c4f429fca653
Parents: 5b8e4b9
Author: Brian Federle <br...@citrix.com>
Authored: Tue Feb 12 16:10:40 2013 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Feb 12 16:10:40 2013 -0800

----------------------------------------------------------------------
 ui/scripts/plugins.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6e02fb96/ui/scripts/plugins.js
----------------------------------------------------------------------
diff --git a/ui/scripts/plugins.js b/ui/scripts/plugins.js
index b83dffe..4563f83 100644
--- a/ui/scripts/plugins.js
+++ b/ui/scripts/plugins.js
@@ -12,9 +12,11 @@
   };
 
   var pluginAPI = {
+    pollAsyncJob: pollAsyncJobResult,
     apiCall: function(command, args) {
       $.ajax({
         url: createURL(command),
+        data: args.data,
         success: args.success,
         error: function(json) {
           args.error(parseXMLHttpResponse(json));