Repository: ambari Updated Branches: refs/heads/trunk bf41b50a9 -> bf5c5bdfc
AMBARI-6637. Quick links (Oozie Web UI,Falcon Web UI) do not work after reconfiguring port of oozie.base.url (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bf5c5bdf Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bf5c5bdf Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bf5c5bdf Branch: refs/heads/trunk Commit: bf5c5bdfc22161cc6669a24be50abca542e67a20 Parents: bf41b50 Author: Alex Antonenko <[email protected]> Authored: Mon Jul 28 22:14:06 2014 +0300 Committer: Alex Antonenko <[email protected]> Committed: Mon Jul 28 22:14:06 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/info/configs.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/bf5c5bdf/ambari-web/app/controllers/main/service/info/configs.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js index 5a6b46f..d350190 100644 --- a/ambari-web/app/controllers/main/service/info/configs.js +++ b/ambari-web/app/controllers/main/service/info/configs.js @@ -957,12 +957,14 @@ App.MainServiceInfoConfigsController = Em.Controller.extend({ * On save configs handler. Open save configs popup with appropriate message. */ onDoPUTClusterConfigurations: function () { - var header, message, messageClass, value, status, urlParams = ''; - var result = { + var header, message, messageClass, value, status, urlParams = '', + result = { flag: this.get('saveConfigsFlag'), message: null, value: null - }; + }, + extendedModel = App.Service.extendedModel[this.get('content.serviceName')], + currentService = extendedModel ? App[extendedModel].find(this.get('content.serviceName')) : App.Service.find(this.get('content.serviceName')); if (!result.flag) { result.message = Em.I18n.t('services.service.config.failSaveConfig'); @@ -992,6 +994,10 @@ App.MainServiceInfoConfigsController = Em.Controller.extend({ messageClass = 'alert alert-error'; value = result.value; } + if(currentService){ + App.QuickViewLinks.proto().set('content', currentService); + App.QuickViewLinks.proto().loadTags(); + } this.showSaveConfigsPopup(header, flag, message, messageClass, value, status, urlParams); },
