Repository: ambari
Updated Branches:
  refs/heads/trunk b73aca825 -> 46de892c1


AMBARI-5165. Confirmation dialog is not closed when running service check. 
(alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/46de892c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/46de892c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/46de892c

Branch: refs/heads/trunk
Commit: 46de892c1a640fb11d95255915923bb386ae6040
Parents: b73aca8
Author: Alex Antonenko <[email protected]>
Authored: Thu Mar 20 21:31:28 2014 +0200
Committer: Alex Antonenko <[email protected]>
Committed: Thu Mar 20 21:31:28 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/item.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/46de892c/ambari-web/app/controllers/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/item.js 
b/ambari-web/app/controllers/main/service/item.js
index 0c48f61..73ea4c74 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/ambari-web/app/controllers/main/service/item.js
@@ -247,8 +247,8 @@ App.MainServiceItemController = Em.Controller.extend({
     if (data.Requests.id) {
       // load data (if we need to show this background operations popup) from 
persist
       App.router.get('applicationController').dataLoading().done(function 
(initValue) {
+        params.query.set('status', 'SUCCESS');
         if (initValue) {
-          params.query.set('status', 'SUCCESS');
           App.router.get('backgroundOperationsController').showPopup();
         }
       });

Reply via email to