Browse Source

AMBARI-316. Grid mount points page doesn't let one pass with only a custom mount point (Contributed by Vinod)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1346616 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K 13 years ago
parent
commit
ad06c7105e
2 changed files with 5 additions and 0 deletions
  1. 2 0
      CHANGES.txt
  2. 3 0
      hmc/js/configureCluster.js

+ 2 - 0
CHANGES.txt

@@ -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)

+ 3 - 0
hmc/js/configureCluster.js

@@ -176,6 +176,9 @@ function renderConfigureCluster (clusterConfig) {
             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);