From 8e7c57e89788ae8a40b26ccc213c8278502e25ba Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 18 Jul 2005 18:12:14 +0000 Subject: [PATCH] completely reverted to original git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@404 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/JSON.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/javascript/JSON.js b/src/javascript/JSON.js index 6994cfc..e52a439 100644 --- a/src/javascript/JSON.js +++ b/src/javascript/JSON.js @@ -43,13 +43,7 @@ function object2Array(obj) { function js2JSON(arg) { - try { - return _js2JSON(arg); - } catch(E) { - //alert(E + "EX"); - if(arg && arg.toString) return arg.toString(); - return arg; - } + return _js2JSON(arg); } function _js2JSON(arg) { -- 2.11.0