浏览代码

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

Alex Antonenko 11 年之前
父节点
当前提交
46de892c1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/controllers/main/service/item.js

+ 1 - 1
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();
         }
       });