From 7b2aedddb366edf2010ffd1652c0d75f287a323b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 4 Jun 2010 08:16:45 +0000 Subject: [PATCH] Renamed the alert handler to egw_alertHandler --- phpgwapi/js/egw_json.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/js/egw_json.js b/phpgwapi/js/egw_json.js index 4ff51497a4..e92a54ba8c 100644 --- a/phpgwapi/js/egw_json.js +++ b/phpgwapi/js/egw_json.js @@ -24,9 +24,9 @@ function egw_json_request(_menuaction, _parameters) this.sender = null; this.callback = null; this.alertHandler = this.alertFunc; - if (document.alertHandler) + if (window.egw_alertHandler) { - this.alertHandler = document.alertHandler; + this.alertHandler = window.egw_alertHandler; } }