diff --git a/hsarjcli/resource/js/functions.js b/hsarjcli/resource/js/functions.js index 94dafa3..1a5edb9 100644 --- a/hsarjcli/resource/js/functions.js +++ b/hsarjcli/resource/js/functions.js @@ -33,6 +33,9 @@ function hsaParseParamArray(o) { } function hsaParseParamObject(o) { + if (typeof o === 'object' && o.constructor === String) { + return o; + } var hsh = new HashMap(); for (var key in o) { var val = o[key];