mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +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)
|
if (_id < 0)
|
||||||
{
|
{
|
||||||
var tree = this.et2.getWidgetById('tree');
|
var tree = this.et2.getWidgetById('tree');
|
||||||
|
var nm = this.et2.getWidgetById('nm');
|
||||||
switch(_type)
|
switch(_type)
|
||||||
{
|
{
|
||||||
case 'delete':
|
case 'delete':
|
||||||
tree.deleteItem('/groups/'+_id, false);
|
tree.deleteItem('/groups/'+_id, false);
|
||||||
|
if (nm) nm.applyFilters();
|
||||||
return false; // --> no regular refresh
|
return false; // --> no regular refresh
|
||||||
|
|
||||||
default: // add, update, edit, null
|
default: // add, update, edit, null
|
||||||
tree.refreshItem('/groups');
|
tree.refreshItem('/groups');
|
||||||
|
if (nm) nm.applyFilters();
|
||||||
return false; // --> no regular refresh
|
return false; // --> no regular refresh
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user