Revert "AMBARI-7031. FE: Next button not enabled when only /validation ERRORs are there. (ababiichuk via srimanth)"
This reverts commit 966fff415353beff39a4c4cc72ae38b5974ffaa5. Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fdb54a10 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fdb54a10 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fdb54a10 Branch: refs/heads/branch-alerts-dev Commit: fdb54a10f7f22dac46e3fcd4aaa6deba0c262916 Parents: fc626c9 Author: Yusaku Sako <[email protected]> Authored: Wed Aug 27 16:00:38 2014 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Aug 27 16:00:38 2014 -0700 ---------------------------------------------------------------------- ambari-web/app/mixins/common/serverValidator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/fdb54a10/ambari-web/app/mixins/common/serverValidator.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js index 71169c5..3a1dbed 100644 --- a/ambari-web/app/mixins/common/serverValidator.js +++ b/ambari-web/app/mixins/common/serverValidator.js @@ -236,8 +236,8 @@ App.ServerValidatorMixin = Em.Mixin.create({ if ((property.get('filename') == item['config-type'] + '.xml') && (property.get('name') == item['config-name'])) { if (item.level == "ERROR") { self.set('configValidationError', true); - property.set('errorMessage', item.message); - property.set('error', true); + property.set('warnMessage', item.message); + property.set('warn', true); } else if (item.level == "WARN") { self.set('configValidationWarning', true); property.set('warnMessage', item.message);
