Prechádzať zdrojové kódy

AMBARI-2652. Unable to add component from host details page. (Aleksandr Kovalenko via yusaku)

Yusaku Sako 12 rokov pred
rodič
commit
318a7983f8

+ 1 - 1
ambari-web/app/controllers/main/host/details.js

@@ -239,7 +239,7 @@ App.MainHostDetailsController = Em.Controller.extend({
         }),
         onPrimary: function () {
           this.hide();
-          this.primary(component);
+          self.primary(component);
         }
       });
     }