Author: yusaku
Date: Tue Jun 11 01:27:52 2013
New Revision: 1491670

URL: http://svn.apache.org/r1491670
Log:
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)

Modified:
    incubator/ambari/trunk/ambari-web/app/models/service_config.js

Modified: incubator/ambari/trunk/ambari-web/app/models/service_config.js
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/models/service_config.js?rev=1491670&r1=1491669&r2=1491670&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/models/service_config.js (original)
+++ incubator/ambari/trunk/ambari-web/app/models/service_config.js Tue Jun 11 
01:27:52 2013
@@ -190,6 +190,7 @@ App.ServiceConfigProperty = Ember.Object
   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'));


Reply via email to