AMBARI-18914 Bulk property mode doesnt throw any error on UI while adding an existing property. (atkach)
(cherry picked from commit 9fd886dbf9ad94d49d431816c9301007f28a8640) Change-Id: Ie123fc477c4a1634c3c891531aae17fdeb142729 Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/441500a0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/441500a0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/441500a0 Branch: refs/heads/AMBARI-2.4.2.16 Commit: 441500a0980eb2ebf7470c761fb8c0d85ce6ca18 Parents: d306f8a Author: Andrii Tkach <[email protected]> Authored: Thu Nov 17 17:37:27 2016 +0200 Committer: Zuul <[email protected]> Committed: Fri Nov 18 01:13:38 2016 -0800 ---------------------------------------------------------------------- .../app/views/common/configs/service_configs_by_category_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/441500a0/ambari-web/app/views/common/configs/service_configs_by_category_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/configs/service_configs_by_category_view.js b/ambari-web/app/views/common/configs/service_configs_by_category_view.js index bdcc382..5a4ae3a 100644 --- a/ambari-web/app/views/common/configs/service_configs_by_category_view.js +++ b/ambari-web/app/views/common/configs/service_configs_by_category_view.js @@ -583,7 +583,7 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, App.ConfigOverri } else { errorMessages.push(this.lineNumber(index) + Em.I18n.t('form.validator.configKey.specific').format(key)); } - }); + }, this); if (errorMessages.length > 0) { callback(errorMessages.join('<br>'), parsedConfig);
