From 8c21c997737dfeeccc62edda3e1d748558f0fa97 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 15 Sep 2015 16:46:29 +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);