Repository: ambari Updated Branches: refs/heads/trunk 5fa2d9b22 -> 84c172cb8
AMBARI-18490. Need to click Cancel twice to dismiss Set Rack dialog when no value entered (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/84c172cb Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84c172cb Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84c172cb Branch: refs/heads/trunk Commit: 84c172cb84da6b3ad3c855bfdb94fc6ff528f191 Parents: 5fa2d9b Author: Alex Antonenko <[email protected]> Authored: Thu Sep 29 22:38:36 2016 +0300 Committer: Alex Antonenko <[email protected]> Committed: Thu Sep 29 22:38:47 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/hosts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/84c172cb/ambari-web/app/utils/hosts.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/hosts.js b/ambari-web/app/utils/hosts.js index e4a437c..0aebe89 100644 --- a/ambari-web/app/utils/hosts.js +++ b/ambari-web/app/utils/hosts.js @@ -228,7 +228,7 @@ module.exports = { return App.ModalPopup.show({ header: Em.I18n.t('hosts.host.details.setRackId'), disablePrimary: true, - rackId: rackId, + rackId: rackId ? rackId : "", bodyClass: Em.View.extend({ templateName: require('templates/main/host/rack_id_popup'), errorMessage: null,
