From 5343a4eae366305353376bde71426fc0e27cb2a5 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 2 Dec 2015 18:05:25 +0000 Subject: [PATCH] Fix admin so it will reload the page it was opened with instead of changing to user list, or doing nothing. --- phpgwapi/js/framework/fw_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/framework/fw_base.js b/phpgwapi/js/framework/fw_base.js index 4988786a31..d0b33fc930 100644 --- a/phpgwapi/js/framework/fw_base.js +++ b/phpgwapi/js/framework/fw_base.js @@ -176,7 +176,7 @@ var fw_base = Class.extend({ !(this.applications[_app.appName].app_refresh) && _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')) + && !(_app.browser.currentLocation.match(/&load=[^&]+/g) && _app.appName === 'admin')) { // Just do an egw_refresh to avoid a full reload egw_refresh('',_app.appName);