From 68b117865767ad17c69d8299b93877c8c542da9e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 16 Sep 2013 14:35:55 +0000 Subject: [PATCH] Undefined needs quotes. --- phpgwapi/js/jsapi/egw_json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_json.js b/phpgwapi/js/jsapi/egw_json.js index 925c721cdf..6010acab99 100644 --- a/phpgwapi/js/jsapi/egw_json.js +++ b/phpgwapi/js/jsapi/egw_json.js @@ -72,7 +72,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) { * @returns undefined */ json_request.prototype.sendRequest = function(async) { - if(typeof async != undefined) + if(typeof async != "undefined") { this.async = async; }