From c159e47406d288e8e7b443d33762a282e78600ac Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 14 Sep 2015 17:34:43 +0000 Subject: [PATCH] Consider link with load param for re-browse it in admin tab --- phpgwapi/js/framework/fw_base.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/js/framework/fw_base.js b/phpgwapi/js/framework/fw_base.js index 8d6b880e1d..bb43ea4363 100644 --- a/phpgwapi/js/framework/fw_base.js +++ b/phpgwapi/js/framework/fw_base.js @@ -174,7 +174,9 @@ var fw_base = Class.extend({ else if (_app.browser != null && // check if app has its own linkHandler !(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 + && (!_app.browser.currentLocation.match(/&load=[^&]+/g) && _app == 'admin')) { // Just do an egw_refresh to avoid a full reload egw_refresh('',_app.appName);