mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Fix admin so it will reload the page it was opened with instead of changing to user list, or doing nothing.
This commit is contained in:
parent
ecb2003f4f
commit
5343a4eae3
@ -176,7 +176,7 @@ var fw_base = Class.extend({
|
|||||||
!(this.applications[_app.appName].app_refresh) &&
|
!(this.applications[_app.appName].app_refresh) &&
|
||||||
_app.browser.iframe == null && _url == _app.browser.currentLocation
|
_app.browser.iframe == null && _url == _app.browser.currentLocation
|
||||||
// links with load may needs to be reloaded e.g. admin applications global cats
|
// links with load may needs to be reloaded e.g. admin applications global cats
|
||||||
&& !(_app.browser.currentLocation.match(/&load=[^&]+/g) && _app == 'admin'))
|
&& !(_app.browser.currentLocation.match(/&load=[^&]+/g) && _app.appName === 'admin'))
|
||||||
{
|
{
|
||||||
// Just do an egw_refresh to avoid a full reload
|
// Just do an egw_refresh to avoid a full reload
|
||||||
egw_refresh('',_app.appName);
|
egw_refresh('',_app.appName);
|
||||||
|
Loading…
Reference in New Issue
Block a user