|
@@ -239,7 +239,7 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
deleted = {xhr: xhr, url: url, method: 'DELETE'};
|
|
|
},
|
|
|
statusCode: require('data/statusCodes')
|
|
|
- });
|
|
|
+ });
|
|
|
return deleted;
|
|
|
},
|
|
|
|
|
@@ -278,9 +278,7 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
App.router.get('clusterController').loadUpdatedStatusDelayed(500);
|
|
|
}
|
|
|
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
|
|
|
});
|
|
|
});
|
|
@@ -351,14 +349,10 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
component.set('workStatus', App.HostComponentStatus.stopped);
|
|
|
},App.testModeDelayForActions);
|
|
|
}
|
|
|
-
|
|
|
} else {
|
|
|
App.router.get('clusterController').loadUpdatedStatusDelayed(500);
|
|
|
}
|
|
|
-
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -471,9 +465,8 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
App.router.get('clusterController').loadUpdatedStatusDelayed(500);
|
|
|
}
|
|
|
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
+
|
|
|
});
|
|
|
});
|
|
|
},
|
|
@@ -527,9 +520,7 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
App.router.get('clusterController').loadUpdatedStatusDelayed(500);
|
|
|
}
|
|
|
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
|
|
|
});
|
|
|
}
|
|
@@ -557,9 +548,7 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
}
|
|
|
self.doDatanodeDecommission(decommissionHostNames, true);
|
|
|
}
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -661,9 +650,7 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
decommissionHostNames.splice(index, 1);
|
|
|
self.doDatanodeDecommission(decommissionHostNames, false);
|
|
|
}
|
|
|
- if (App.router.get('mainAdminUserSettingsController').loadShowBgChecked()) {
|
|
|
- App.router.get('backgroundOperationsController').showPopup();
|
|
|
- }
|
|
|
+ App.router.get('backgroundOperationsController').showPopup();
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -872,5 +859,4 @@ App.MainHostDetailsController = Em.Controller.extend({
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-});
|
|
|
-
|
|
|
+});
|