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:
Nathan Gray 2015-12-02 18:05:25 +00:00
parent ecb2003f4f
commit 5343a4eae3

View File

@ -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);