mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Changing group in admin needs to refresh nm group filter too
This commit is contained in:
parent
c381aef5e4
commit
2871228a0d
@ -161,14 +161,22 @@ app.classes.admin = AppJS.extend(
|
|||||||
{
|
{
|
||||||
case 'delete':
|
case 'delete':
|
||||||
tree.deleteItem('/groups/'+_id, false);
|
tree.deleteItem('/groups/'+_id, false);
|
||||||
if (nm) nm.applyFilters();
|
if (nm) nm.getInstanceManager().submit();
|
||||||
return false; // --> no regular refresh
|
break;
|
||||||
|
|
||||||
default: // add, update, edit, null
|
default: // add, update, edit, null
|
||||||
tree.refreshItem('/groups');
|
if (nm)
|
||||||
if (nm) nm.applyFilters();
|
{
|
||||||
return false; // --> no regular refresh
|
var activeFilters = nm.activeFilters;
|
||||||
|
nm.getInstanceManager().submit();
|
||||||
|
var nm = this.et2.getWidgetById('nm');
|
||||||
|
nm.applyFilters(activeFilters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
var refreshTree = this.et2.getWidgetById('tree');
|
||||||
|
if (refreshTree) refreshTree.refreshItem('/groups');
|
||||||
|
return false; // --> no regular refresh
|
||||||
}
|
}
|
||||||
// not a user or group, eg. categories
|
// not a user or group, eg. categories
|
||||||
else if (!_id)
|
else if (!_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user