Browse Source

AMBARI-7989. Ambari layout issues in Add Service and Admin Repositories (alexantonenko)

Alex Antonenko 10 years ago
parent
commit
697c5a47e8

+ 1 - 1
ambari-web/app/controllers/main/service/add_controller.js

@@ -159,7 +159,7 @@ App.AddServiceController = App.WizardController.extend({
    */
    */
   loadMasterComponentHosts: function () {
   loadMasterComponentHosts: function () {
     this._super();
     this._super();
-    this.set('content.skipMasterStep', this.get('content.masterComponentHosts').everyProperty('isInstalled', true));
+    this.set('content.skipMasterStep', App.StackService.find().filterProperty('isSelected').filterProperty('hasMaster').everyProperty('isInstalled', true));
     this.get('isStepDisabled').findProperty('step', 2).set('value', this.get('content.skipMasterStep'));
     this.get('isStepDisabled').findProperty('step', 2).set('value', this.get('content.skipMasterStep'));
   },
   },
 
 

+ 1 - 1
ambari-web/app/styles/application.less

@@ -6460,7 +6460,7 @@ i.icon-asterisks {
             width: 70%;
             width: 70%;
             padding-top: 4px;
             padding-top: 4px;
             padding-left: 3px;
             padding-left: 3px;
-            overflow: scroll;
+            overflow: auto;
           }
           }
           .edit-td {
           .edit-td {
             width: 8%;
             width: 8%;