You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/09/30 16:01:26 UTC

[02/14] ambari git commit: AMBARI-18490. Need to click Cancel twice to dismiss Set Rack dialog when no value entered (alexantonenko)

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/branch-dev-patch-upgrade
Commit: 84c172cb84da6b3ad3c855bfdb94fc6ff528f191
Parents: 5fa2d9b
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Sep 29 22:38:36 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
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,