Browse Source

AMBARI-7396. After saving empty property become required only for Custom Properties.(xiwang)

Xi Wang 11 years ago
parent
commit
01ff6a79b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/config.js

+ 1 - 1
ambari-web/app/utils/config.js

@@ -350,7 +350,7 @@ App.config = Em.Object.create({
           filename: filename,
           isUserProperty: false,
           isOverridable: true,
-          isRequired: true,
+          isRequired: advancedConfigs.someProperty('name', index),
           isFinal: finalAttributes[index] === "true",
           defaultIsFinal: finalAttributes[index] === "true",
           showLabel: true,