forked from extern/egroupware
Admin - App refresh now just refreshes nextmatch if present, reloads if not
This commit is contained in:
parent
9741205576
commit
674b63f77b
@ -270,7 +270,24 @@ app.classes.admin = AppJS.extend(
|
||||
// not a user or group, eg. categories
|
||||
else if (!_id)
|
||||
{
|
||||
// Try just refreshing the nextmatch
|
||||
if(this.nm)
|
||||
{
|
||||
this.nm.refresh();
|
||||
}
|
||||
if(this.groups)
|
||||
{
|
||||
this.groups.refresh();
|
||||
}
|
||||
if(this.et2 && this.et2.getWidgetById('nm') && this.nm !== this.et2.getWidgetById('nm'))
|
||||
{
|
||||
this.et2.getWidgetById('nm').refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Load something else
|
||||
this.load();
|
||||
}
|
||||
return false; // --> no regular refresh needed
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user