You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2015/08/19 12:22:15 UTC
ambari git commit: AMBARI-12802 Copy alert group doesn't copy actual
alerts list. (atkach)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 4045aa5aa -> 6e3e328e2
AMBARI-12802 Copy alert group doesn't copy actual alerts list. (atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6e3e328e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6e3e328e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6e3e328e
Branch: refs/heads/branch-2.1
Commit: 6e3e328e2d3de054820a3643f34455074a50415b
Parents: 4045aa5
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Tue Aug 18 13:04:15 2015 +0300
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Wed Aug 19 13:21:27 2015 +0300
----------------------------------------------------------------------
.../app/controllers/main/alerts/manage_alert_groups_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/6e3e328e/ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js b/ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js
index ed9a607..b2b52ea 100644
--- a/ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js
+++ b/ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js
@@ -757,7 +757,7 @@ App.ManageAlertGroupsController = Em.Controller.extend({
label: function () {
return this.get('displayName') + ' (' + this.get('definitions.length') + ')';
}.property('displayName', 'definitions.length'),
- definitions: [],
+ definitions: self.get('selectedAlertGroup.definitions').slice(0),
notifications: self.get('alertGlobalNotifications'),
isAddDefinitionsDisabled: false
});