Procházet zdrojové kódy

AMBARI-2342. Only password confirmation field is cleared when moving back from screen "Review" to screen "Customize Services" during the install. (Oleg Nechiporenko via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1491670 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako před 12 roky
rodič
revize
d10fd3e7d7
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      ambari-web/app/models/service_config.js

+ 1 - 0
ambari-web/app/models/service_config.js

@@ -190,6 +190,7 @@ App.ServiceConfigProperty = Ember.Object.extend({
   init: function () {
     if(this.get("displayType")=="password"){
       this.set('retypedPassword', this.get('defaultValue'));
+      this.set('value', this.get('defaultValue'));
     }
     if ((this.get('id') === 'puppet var') && this.get('value') == '') {
       this.set('value', this.get('defaultValue'));