Sfoglia il codice sorgente

AMBARI-10689 Create widget wizard-> Add metric popup: UI changes. (atkach)

Andrii Tkach 10 anni fa
parent
commit
e5fb8d72c0

+ 0 - 5
ambari-web/app/templates/main/service/widgets/create/step2_add_metric.hbs

@@ -42,11 +42,6 @@
           </div>
         </li>
       {{/each}}
-      <li><a class="link" href="#" {{action showMore target="view"}}>{{t hostPopup.serviceInfo.showMore}}</a></li>
-      <li class="row-fluid">
-        <button class="btn span4 offset1">{{t common.cancel}}</button>
-        <button class="btn btn-primary span4 apply-button">{{t common.apply}}</button>
-      </li>
     </ul>
   </div>
 </div>

+ 1 - 0
ambari-web/app/views/main/service/widgets/create/expression_view.js

@@ -209,6 +209,7 @@ App.WidgetWizardExpressionView = Em.View.extend({
         selectComponents: function (event) {
           var component = this.get('componentMap').findProperty('serviceName', event.context.get('serviceName'))
             .get('components').findProperty('id', event.context.get('id'));
+          $('#add-metric-popup .component-select').removeClass('open');
 
           this.set('selectedComponent', component);
           this.set('parentView.selectedMetric', null);