diff --git a/phpgwapi/js/jsapi/jsapi.js b/phpgwapi/js/jsapi/jsapi.js index 2b025d5092..3884066ac8 100644 --- a/phpgwapi/js/jsapi/jsapi.js +++ b/phpgwapi/js/jsapi/jsapi.js @@ -286,7 +286,7 @@ window.egw_getFramework = function() { return framework; } - else if (typeof window.parent.egw_getFramework != "undefined" && window !== window.parent) + else if (typeof window.parent.egw_getFramework != "undefined" && window != window.parent) { return window.parent.egw_getFramework(); }