Преглед на файлове

AMBARI-15144. Login Message: clicking on submit button of login message has not action (alexantonenko)

Alex Antonenko преди 9 години
родител
ревизия
03534a08dc
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      ambari-web/app/router.js

+ 4 - 1
ambari-web/app/router.js

@@ -380,7 +380,10 @@ App.Router = Em.Router.extend({
             '<div class="modal-footer">' +
             '<button class="btn btn-success" {{action onPrimary target="view"}}>' + buttonText + '</button>'+
             '</div>'
-          )
+          ),
+          onPrimary: function() {
+            this.get('parentView').onPrimary();
+          }
         }),
 
         onPrimary: function () {