From 718264c6e70cc2dded3a195259f49d40f4048b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 4 Jun 2010 12:16:13 +0000 Subject: [PATCH] Added egw_appWindow funtion to jsapi --- phpgwapi/js/jsapi/jsapi.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpgwapi/js/jsapi/jsapi.js b/phpgwapi/js/jsapi/jsapi.js index 027488633b..7739738074 100644 --- a/phpgwapi/js/jsapi/jsapi.js +++ b/phpgwapi/js/jsapi/jsapi.js @@ -39,6 +39,15 @@ else if (document.layers) is_ns4 = true; } +/** + * Returns the window object of the current application + * @param string _app is the name of the application which requests the window object + */ +function egw_appWindow(_app) +{ + return window; +} + function egw_set_checkbox_multiselect_enabled(_id, _enabled) { //Retrieve the checkbox_multiselect base div