Fix broken sidebox app header refresh caused by commit 53643

This commit is contained in:
Hadi Nategh 2015-09-16 13:35:15 +00:00
parent a10f45ec79
commit 078b5acf80

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 == '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);