|
@@ -205,6 +205,9 @@ App.ManageConfigGroupsController = Em.Controller.extend({
|
|
|
id: selectedConfigGroup.get('id')
|
|
|
}
|
|
|
});
|
|
|
+ //move hosts of group to default group (available hosts)
|
|
|
+ this.set('selectedHosts', selectedConfigGroup.get('hosts'));
|
|
|
+ this.deleteHosts();
|
|
|
this.get('configGroups').removeObject(selectedConfigGroup);
|
|
|
this.set('selectedConfigGroup', this.get('configGroups').findProperty('isDefault'));
|
|
|
},
|