You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2016/09/30 07:41:13 UTC
[2/2] ambari git commit: AMBARI-18493 Error on manage group popup.
(ababiichuk)
AMBARI-18493 Error on manage group popup. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/013b7bd0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/013b7bd0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/013b7bd0
Branch: refs/heads/trunk
Commit: 013b7bd08117abc082400279f7b24d33a9819e34
Parents: 32ab17b
Author: ababiichuk <ab...@hortonworks.com>
Authored: Thu Sep 29 15:40:22 2016 +0300
Committer: ababiichuk <ab...@hortonworks.com>
Committed: Fri Sep 30 10:33:49 2016 +0300
----------------------------------------------------------------------
.../controllers/main/service/manage_config_groups_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/013b7bd0/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
index ad44b9c..539d03e 100644
--- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
+++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
@@ -931,7 +931,7 @@ App.ManageConfigGroupsController = Em.Controller.extend(App.ConfigOverridable, {
var errors = [];
var self = this;
var finishFunction = function (xhr, text, errorThrown) {
- if (xhr && errorThrown) {
+ if (xhr && typeof (errorThrown) === 'string') {
var error = xhr.status + "(" + errorThrown + ") ";
try {
var json = $.parseJSON(xhr.responseText);