Explorar o código

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

Yusaku Sako %!s(int64=12) %!d(string=hai) anos
pai
achega
318a7983f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/main/host/details.js

+ 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);
         }
       });
     }