From 8ac0feb06531fea5a9b4fae388c5b476f96f4f1b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 21 Jan 2013 13:53:59 -0500 Subject: [PATCH] refactored --- lib/client/ie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/ie.js b/lib/client/ie.js index 0ea6d9a0..b58e60b6 100644 --- a/lib/client/ie.js +++ b/lib/client/ie.js @@ -170,7 +170,7 @@ var Util, DOM, $; if (pObj.hasOwnProperty(n)) { if (Util.isString(v)) v = '"' + v + '"'; - else if (Util.isObject(v) && v !== null) + else if (v && Util.isObject(v)) v = DOM.stringifyJSON(v); json.push((isArray ? "" : '"' + n + '":') + String(v));