projects
/
org.ibex.xt-crawshaw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix scope bug in transaction handling
[org.ibex.xt-crawshaw.git]
/
src
/
java
/
org
/
ibex
/
xt
/
Template.java
diff --git
a/src/java/org/ibex/xt/Template.java
b/src/java/org/ibex/xt/Template.java
index
323fb00
..
6afe1b2
100644
(file)
--- a/
src/java/org/ibex/xt/Template.java
+++ b/
src/java/org/ibex/xt/Template.java
@@
-235,7
+235,8
@@
public class Template extends JSLeaf.Element {
StringReader sr = new StringReader(sw.toString());
JS t;
StringReader sr = new StringReader(sw.toString());
JS t;
- try { t = JS.fromReader("input", 0, sr); }
+ try { t = JS.cloneWithNewParentScope(
+ JS.fromReader("input", 0, sr), new JSScope(null)); }
catch (IOException e) { throw new JSLeaf.Exn(e.getMessage()); }
try {
catch (IOException e) { throw new JSLeaf.Exn(e.getMessage()); }
try {