Repository: ambari Updated Branches: refs/heads/trunk a8655347a -> 0926cdc6d
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/0926cdc6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0926cdc6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0926cdc6 Branch: refs/heads/trunk Commit: 0926cdc6d5f2c79e8249d009adb6c8b9e4b4bbed Parents: a865534 Author: Alex Antonenko <[email protected]> Authored: Mon May 30 14:29:22 2016 +0300 Committer: Alex Antonenko <[email protected]> Committed: Mon May 30 14:29: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/0926cdc6/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); } }),
