Repository: ambari Updated Branches: refs/heads/trunk afe86bdf4 -> 3043933b0
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/3043933b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3043933b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3043933b Branch: refs/heads/trunk Commit: 3043933b008b349ff9735355c9056ebe37722e24 Parents: afe86bd Author: Andrii Tkach <[email protected]> Authored: Tue Aug 18 13:04:15 2015 +0300 Committer: Andrii Tkach <[email protected]> Committed: Wed Aug 19 13:28:02 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/3043933b/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 });
