Repository: ambari Updated Branches: refs/heads/trunk fa10e3bff -> 94ca14a55
AMBARI-7031. FE: Next button not enabled when only /validation ERRORs are there. (ababiichuk via srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/94ca14a5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/94ca14a5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/94ca14a5 Branch: refs/heads/trunk Commit: 94ca14a559ddd9eab59bc2db138dd2005dfffeec Parents: fa10e3b Author: Srimanth Gunturi <sgunt...@hortonworks.com> Authored: Wed Aug 27 14:14:53 2014 -0700 Committer: Srimanth Gunturi <sgunt...@hortonworks.com> Committed: Wed Aug 27 18:39:43 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/94ca14a5/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 3a1dbed..71169c5 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('warnMessage', item.message); - property.set('warn', true); + property.set('errorMessage', item.message); + property.set('error', true); } else if (item.level == "WARN") { self.set('configValidationWarning', true); property.set('warnMessage', item.message);