diff --git a/UI/WebServerResources/js/Common/Common.app.js b/UI/WebServerResources/js/Common/Common.app.js index 5f8210fd0..a4f6dc6a8 100644 --- a/UI/WebServerResources/js/Common/Common.app.js +++ b/UI/WebServerResources/js/Common/Common.app.js @@ -319,9 +319,10 @@ deferred.resolve(response); }, function(response) { deferred.reject(response); + }).finally(function() { + $timeout(iframe.remove, 1000); }); - $timeout(iframe.remove, 2000); - }, 100); // Wait before replaying the request + }, 2000); // Wait before replaying the request } });