Переглянути джерело

Revert "AMBARI-2655. Convert hosts entered during boostrap (Installer step2) to lower-case. (Antonenko Alexander via yusaku)"

This reverts commit 7f00dbc2ce7ee36e6e9086583884b3d4c50842d7.
Yusaku Sako 12 роки тому
батько
коміт
8be5c1689b

+ 1 - 1
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().toLowerCase().split(new RegExp("\\s+", "g"));
+    this.hostNameArr = this.get('hostNames').trim().split(new RegExp("\\s+", "g"));
     this.patternExpression();
     this.get('inputtedAgainHostNames').clear();
     var installedHostNames = App.Host.find().mapProperty('hostName');

+ 0 - 4
ambari-web/app/styles/application.less

@@ -312,10 +312,6 @@ h1 {
     #targetHosts {
       .target-hosts-input {
         padding-left: 18px;
-
-        textarea{
-          text-transform: lowercase;
-        }
       }
     }
     .span6 {