incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1346616 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/js/configureCluster.js
Date Tue, 05 Jun 2012 21:46:15 GMT
Author: vikram
Date: Tue Jun  5 21:46:14 2012
New Revision: 1346616

URL: http://svn.apache.org/viewvc?rev=1346616&view=rev
Log:
AMBARI-316. Grid mount points page doesn't let one pass with only a custom mount point (Contributed
by Vinod)

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

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1346616&r1=1346615&r2=1346616&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Tue Jun  5 21:46:14 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-316. Grid mount points page doesn't let one pass with only a custom mount point
(Vinod via Vikram)
+
   AMBARI-343. add option to enable webhdfs (Hitesh via Vikram)
 
   AMBARI-342. Reconfiguration process kicks in even when the user submits without new configs
changes (Vinod via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/js/configureCluster.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/js/configureCluster.js?rev=1346616&r1=1346615&r2=1346616&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/js/configureCluster.js (original)
+++ incubator/ambari/branches/ambari-186/hmc/js/configureCluster.js Tue Jun  5 21:46:14 2012
@@ -176,6 +176,9 @@ function renderConfigureCluster (cluster
             itemsExist = true;
           }
         });
+        if (globalYui.Lang.trim( globalYui.one("#customMountPointsId").get('value') ) !=
'') {
+          itemsExist = true;
+        }
         if (!itemsExist) {
           alert("Please select one mount point at the least");
           e.target.set('disabled', false);



Mime
View raw message