Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 de3f40d2e -> 54074bec5


AMBARI-12173. Show more BG operations does not work correctly (alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 54074bec5884c35076ef512dc206f4ca6dd97721
Parents: de3f40d
Author: Alex Antonenko <[email protected]>
Authored: Fri Jun 26 19:43:15 2015 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Fri Jun 26 19:43:15 2015 +0300

----------------------------------------------------------------------
 .../app/controllers/global/background_operations_controller.js    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/54074bec/ambari-web/app/controllers/global/background_operations_controller.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/controllers/global/background_operations_controller.js 
b/ambari-web/app/controllers/global/background_operations_controller.js
index 00c7c63..22e1e90 100644
--- a/ambari-web/app/controllers/global/background_operations_controller.js
+++ b/ambari-web/app/controllers/global/background_operations_controller.js
@@ -353,7 +353,6 @@ App.BackgroundOperationsController = Em.Controller.extend({
   showPopup: function(){
     // load the checkbox on footer first, then show popup.
     var self = this;
-    this.set('operationsCount', 10);
     App.router.get('applicationController').dataLoading().done(function 
(initValue) {
       App.updater.immediateRun('requestMostRecent');
       if(self.get('popupView') && App.HostPopup.get('isBackgroundOperations')){
@@ -418,4 +417,4 @@ App.BackgroundOperationsController.CommandContexts = {
    * @param {Number} totalBatchCount Parameter {2}. Total number of batches. 
Example 10.
    */
   ROLLING_RESTART : "_PARSE_.ROLLING-RESTART.{0}.{1}.{2}"
-};
\ No newline at end of file
+};

Reply via email to