Browse Source

AMBARI-8604. Alerts UI: Manage Alert-Groups dialog launched 2nd time has issues. (akovalenko)

Aleksandr Kovalenko 10 years ago
parent
commit
5c204d86a3

+ 3 - 0
ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js

@@ -113,6 +113,9 @@ App.ManageAlertGroupsController = Em.Controller.extend({
     this.set('isLoaded', false);
     this.set('alertGroups', []);
     this.set('originalAlertGroups', []);
+    this.set('isRemoveButtonDisabled', true);
+    this.set('isRenameButtonDisabled', true);
+    this.set('isDuplicateButtonDisabled', true);
     App.ajax.send({
       name: 'alerts.load_alert_groups',
       sender: this,