CLOUDSTACK-5824: poll for delete snapshot and volume events Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> (cherry picked from commit a85aea74ded3c8d1aadec19a9e7f062a34ce63fc) Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d82879e5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d82879e5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d82879e5 Branch: refs/heads/hotfix/scp-exception Commit: d82879e5484b81ee9aa033cca1ab27d22b333faf Parents: 7629000 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Thu Feb 19 15:33:27 2015 +0530 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Thu Feb 19 15:34:16 2015 +0530 ---------------------------------------------------------------------- ui/scripts/storage.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d82879e5/ui/scripts/storage.js ---------------------------------------------------------------------- diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 30698f4..baba273 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1356,9 +1356,7 @@ }); }, notification: { - poll: function(args) { - args.complete(); - } + poll: pollAsyncJobResult } }, @@ -2076,9 +2074,7 @@ }); }, notification: { - poll: function(args) { - args.complete(); - } + poll: pollAsyncJobResult } } },