From: erickson Date: Mon, 18 Jul 2005 18:12:14 +0000 (+0000) Subject: completely reverted to original X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8e7c57e89788ae8a40b26ccc213c8278502e25ba;p=opensrf%2Fbjwebb.git completely reverted to original git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@404 9efc2488-bf62-4759-914b-345cdb29e865 --- 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) {