mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Refresh admin nm after group edit/delete
This commit is contained in:
parent
dbc6dbd7e1
commit
c381aef5e4
@ -156,14 +156,17 @@ app.classes.admin = AppJS.extend(
|
||||
if (_id < 0)
|
||||
{
|
||||
var tree = this.et2.getWidgetById('tree');
|
||||
var nm = this.et2.getWidgetById('nm');
|
||||
switch(_type)
|
||||
{
|
||||
case 'delete':
|
||||
tree.deleteItem('/groups/'+_id, false);
|
||||
if (nm) nm.applyFilters();
|
||||
return false; // --> no regular refresh
|
||||
|
||||
default: // add, update, edit, null
|
||||
tree.refreshItem('/groups');
|
||||
if (nm) nm.applyFilters();
|
||||
return false; // --> no regular refresh
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user