Repository: ambari Updated Branches: refs/heads/trunk 3952c83ee -> d55dfc27f
AMBARI-20163. After disabling security page is not refreshed (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d55dfc27 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d55dfc27 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d55dfc27 Branch: refs/heads/trunk Commit: d55dfc27f56a673364fa38e90c47d767f489dd72 Parents: 3952c83 Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Fri Feb 24 10:41:33 2017 +0200 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Fri Feb 24 14:16:41 2017 +0200 ---------------------------------------------------------------------- ambari-web/app/routes/main.js | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/d55dfc27/ambari-web/app/routes/main.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js index 9730de2..d7d2785 100644 --- a/ambari-web/app/routes/main.js +++ b/ambari-web/app/routes/main.js @@ -433,6 +433,10 @@ module.exports = Em.Route.extend(App.RouterRedirections, { secondary: null, disablePrimary: Em.computed.alias('App.router.kerberosDisableController.isSubmitDisabled'), + onPrimary() { + this.onClose(); + }, + onClose: function () { var self = this; var controller = router.get('kerberosDisableController');