cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util JavaScriptHelper.java
Date Thu, 09 Oct 2003 09:34:37 GMT
sylvain     2003/10/09 02:34:37

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/util
                        JavaScriptHelper.java
  Log:
  Fix javascript event handler scoping (all functions and variables defined in the flowscript
are visible)
  
  Revision  Changes    Path
  1.2       +2 -2      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/JavaScriptHelper.java
  
  Index: JavaScriptHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/JavaScriptHelper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JavaScriptHelper.java	3 Oct 2003 13:40:41 -0000	1.1
  +++ JavaScriptHelper.java	9 Oct 2003 09:34:37 -0000	1.2
  @@ -163,7 +163,7 @@
                   throw new CascadingRuntimeException("Cannont create script scope", e);
               }
               
  -            scope.setPrototype(parentScope);
  +            scope.setParentScope(parentScope);
               
               // Populate the scope
               Iterator iter = values.entrySet().iterator();
  
  
  

Mime
View raw message