From bee3efd0d22022c38a59b4cad8c407ecc8585add Mon Sep 17 00:00:00 2001 From: bfederle Date: Wed, 1 Feb 2012 09:54:52 -0800 Subject: [PATCH] bug 12792: Fix restore VM action status 12792: resolved fixed --- ui/scripts/instances.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 8e333b46bc5..81e0d23c0ae 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -672,11 +672,6 @@ args.response.success({data:item}); } }); - }, - notification: { - poll: function(args) { - args.complete(); - } } } }, @@ -921,7 +916,7 @@ }, notification: { poll: function(args) { - args.complete(); + args.complete({ data: { state: 'Stopped' }}); } } },