Updated Branches: refs/heads/branch-1.2.5 4b20a9997 -> f9c5a7785
AMBARI-2655. Convert hosts entered during boostrap (Installer step2) to lower-case. (Antonenko Alexander via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/f9c5a778 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/f9c5a778 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/f9c5a778 Branch: refs/heads/branch-1.2.5 Commit: f9c5a7785443a0976e9c73fed10ee4b35de2b2cc Parents: 4b20a99 Author: Yusaku Sako <[email protected]> Authored: Wed Jul 17 11:20:54 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Jul 17 11:21:24 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step2_controller.js | 2 +- ambari-web/app/styles/application.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/f9c5a778/ambari-web/app/controllers/wizard/step2_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step2_controller.js b/ambari-web/app/controllers/wizard/step2_controller.js index a92e39f..4e47a83 100644 --- a/ambari-web/app/controllers/wizard/step2_controller.js +++ b/ambari-web/app/controllers/wizard/step2_controller.js @@ -58,7 +58,7 @@ App.WizardStep2Controller = Em.Controller.extend({ * set not installed hosts to the hostNameArr */ updateHostNameArr: function(){ - this.hostNameArr = this.get('hostNames').trim().split(new RegExp("\\s+", "g")); + this.hostNameArr = this.get('hostNames').trim().toLowerCase().split(new RegExp("\\s+", "g")); this.patternExpression(); this.get('inputtedAgainHostNames').clear(); var installedHostNames = App.Host.find().mapProperty('hostName'); http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/f9c5a778/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index a926a2b..447b147 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -312,6 +312,10 @@ h1 { #targetHosts { .target-hosts-input { padding-left: 18px; + + textarea{ + text-transform: lowercase; + } } } .span6 {
