You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/02/24 12:46:36 UTC

[2/2] ambari git commit: AMBARI-15144. Login Message: clicking on submit button of login message has not action (alexantonenko)

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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/03534a08
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/03534a08
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/03534a08

Branch: refs/heads/trunk
Commit: 03534a08dc901a67485f2def034a2cf3920240f1
Parents: 4ae5200
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Feb 23 19:48:01 2016 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Feb 24 13:46:31 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/router.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/03534a08/ambari-web/app/router.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/router.js b/ambari-web/app/router.js
index 1537e85..d486d8b 100644
--- a/ambari-web/app/router.js
+++ b/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 () {