summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/prado.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/js/prado.js')
-rw-r--r--framework/Web/Javascripts/js/prado.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js
index 9dc93ce8..0ca9d306 100644
--- a/framework/Web/Javascripts/js/prado.js
+++ b/framework/Web/Javascripts/js/prado.js
@@ -1412,7 +1412,7 @@ if(args.length==0){
return Builder.node(tag,null);
}
if(args.length==1){
-return Builder.node(tag,args[1]);
+return Builder.node(tag,args[0]);
}
if(args.length>1){
return Builder.node(tag,args.shift(),args);