X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FTemplate.java;h=bd57bf9878fbc07605e28b0e9b28ff42fd95981f;hb=8c1756ef3fd42cc2f324baf47e13a83f51045efe;hp=35de96b5d07d213904ee192ecc2b2f3ad83aa798;hpb=2b1b2ef9bb8b8a34efb6329c552eea4f773d9466;p=org.ibex.core.git diff --git a/src/org/xwt/Template.java b/src/org/xwt/Template.java index 35de96b..bd57bf9 100644 --- a/src/org/xwt/Template.java +++ b/src/org/xwt/Template.java @@ -98,7 +98,7 @@ public class Template { if (staticscript == null) return staticJSScope; JSFunction temp = staticscript; staticscript = null; - temp.cloneWithNewParentJSScope(staticJSScope).call(new JSArray()); + temp.cloneWithNewParentJSScope(staticJSScope).call(null, null, null, null, 0); return staticJSScope; } @@ -122,10 +122,10 @@ public class Template { for (int i=0; children != null && i