You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/07/17 20:21:07 UTC
git commit: AMBARI-2655. Convert hosts entered during boostrap
(Installer step2) to lower-case. (Antonenko Alexander via yusaku)
Updated Branches:
refs/heads/trunk 318a7983f -> 7f00dbc2c
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/7f00dbc2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/7f00dbc2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/7f00dbc2
Branch: refs/heads/trunk
Commit: 7f00dbc2ce7ee36e6e9086583884b3d4c50842d7
Parents: 318a798
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Wed Jul 17 11:20:54 2013 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Wed Jul 17 11:20:54 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/7f00dbc2/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/7f00dbc2/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 {