You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/02/13 01:10:48 UTC

git commit: refs/heads/ui-plugins - UI Plugins, API call helper: Add 'pollAyncJobResult' helper, allow passing data

Updated Branches:
  refs/heads/ui-plugins 5b8e4b9fd -> 6e02fb96c


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/ui-plugins
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));