From ec823db47afc3dce7678f462a9b927e4e2bd346e Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Thu, 3 Jul 2014 11:18:58 +0200 Subject: [PATCH] [UI] bug fix: error message was not shown if fail to delete snapshot --- ui/scripts/storage.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 1422904d01d..a1af12931ae 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1871,9 +1871,7 @@ }); }, notification: { - poll: function(args) { - args.complete(); - } + poll: pollAsyncJobResult } } },