You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ji...@apache.org on 2012/05/17 04:57:19 UTC

svn commit: r1339458 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/js/reviewAndDeploy.js

Author: jitendra
Date: Thu May 17 02:57:18 2012
New Revision: 1339458

URL: http://svn.apache.org/viewvc?rev=1339458&view=rev
Log:
AMBARI-292. HTML being spewed in the Review+Deploy page. Contributed by Varun Kapoor.

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/js/reviewAndDeploy.js

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1339458&r1=1339457&r2=1339458&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu May 17 02:57:18 2012
@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-292. HTML being spewed in the Review+Deploy page. (Varun Kapoor via jitendra)
+
   AMBARI-291. Fix yui packaging in the rpm. (jitendra)
 
   AMBARI-290. Comment in addNodesWizardInit.js. (Varun Kapoor via jitendra)

Modified: incubator/ambari/branches/ambari-186/hmc/js/reviewAndDeploy.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/js/reviewAndDeploy.js?rev=1339458&r1=1339457&r2=1339458&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/js/reviewAndDeploy.js (original)
+++ incubator/ambari/branches/ambari-186/hmc/js/reviewAndDeploy.js Thu May 17 02:57:18 2012
@@ -34,7 +34,7 @@ function renderDeploySummary (deployInfo
         serviceHasToBeRendered = true;
 
         readOnlyAttr = 'readonly=readonly';
-        valueAttr = 'value=\"' + perServiceInfo.properties[mPropertiesKey].value;
+        valueAttr = 'value=\"' + perServiceInfo.properties[mPropertiesKey].value + '\"';
         type = convertDisplayType(perServiceInfo.properties[mPropertiesKey].type);
         if (type == "checkbox") {
           readOnlyAttr = 'disabled="disabled"';