AMBARI-7396. After saving empty property become required only for Custom Properties.(xiwang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/01ff6a79 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/01ff6a79 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/01ff6a79 Branch: refs/heads/branch-alerts-dev Commit: 01ff6a79b6d6d4bb4f3d3dc36a0642db350e1b3a Parents: 6446499 Author: Xi Wang <xiw...@apache.org> Authored: Thu Sep 18 17:57:05 2014 -0700 Committer: Xi Wang <xiw...@apache.org> Committed: Thu Sep 18 18:03:54 2014 -0700 ---------------------------------------------------------------------- ambari-web/app/utils/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/01ff6a79/ambari-web/app/utils/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js index 8226811..52f918d 100644 --- a/ambari-web/app/utils/config.js +++ b/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,