Undefined needs quotes.

This commit is contained in:
Nathan Gray 2013-09-16 14:35:55 +00:00
parent b04627ed64
commit 68b1178657

View File

@ -72,7 +72,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
* @returns undefined * @returns undefined
*/ */
json_request.prototype.sendRequest = function(async) { json_request.prototype.sendRequest = function(async) {
if(typeof async != undefined) if(typeof async != "undefined")
{ {
this.async = async; this.async = async;
} }