Repository: ambari Updated Branches: refs/heads/branch-2.4 e47be7958 -> a4b22856b
AMBARI-16950. "DISCARD" button doesn't work on HIVE INTERACTIVE page. (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a4b22856 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a4b22856 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a4b22856 Branch: refs/heads/branch-2.4 Commit: a4b22856b74b22de26aa537df42d3e52973775ef Parents: e47be79 Author: Alex Antonenko <[email protected]> Authored: Mon May 30 14:29:22 2016 +0300 Committer: Alex Antonenko <[email protected]> Committed: Mon May 30 14:30:22 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/routes/main.js | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a4b22856/ambari-web/app/routes/main.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js index b172a0a..4545f54 100644 --- a/ambari-web/app/routes/main.js +++ b/ambari-web/app/routes/main.js @@ -736,14 +736,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, { } }), showInfo: function (router, event) { - var mainServiceInfoConfigsController = App.router.get('mainServiceInfoConfigsController'); - if (event.context !== 'configs' && mainServiceInfoConfigsController.hasUnsavedChanges()) { - mainServiceInfoConfigsController.showSavePopup(router.get('location.lastSetURL').replace('configs', 'summary')); - return false; - } - var parent = event.view.get('_parentView'); - parent.deactivateChildViews(); - event.view.set('active', "active"); router.transitionTo(event.context); } }),
