diff --git a/hsarjcli/resource/js/functions.js b/hsarjcli/resource/js/functions.js index e7a8781..144409d 100644 --- a/hsarjcli/resource/js/functions.js +++ b/hsarjcli/resource/js/functions.js @@ -50,7 +50,7 @@ function hsaParseParamObject(o) { function hsaToNativeJSObject(val) { if (val instanceof java.util.List) { var res = []; - for (i = 0; i < val.size(); i++) { + for (var i = 0; i < val.size(); i++) { res[i] = hsaToNativeJSObject(val.get(i)); } return res;