cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/slide/samples flow.js
Date Wed, 11 Feb 2004 23:41:32 GMT
unico       2004/02/11 15:41:32

  Modified:    src/blocks/slide/samples flow.js
  Log:
  avoid global and local variable name collision
  
  Revision  Changes    Path
  1.10      +2 -2      cocoon-2.1/src/blocks/slide/samples/flow.js
  
  Index: flow.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/slide/samples/flow.js,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- flow.js	27 Jan 2004 16:01:06 -0000	1.9
  +++ flow.js	11 Feb 2004 23:41:31 -0000	1.10
  @@ -97,7 +97,7 @@
   // ---------------------------------------------- property management
   
   function protected_addproperty() {
  -  var baseUri      = "slide://" + principal + "@" + namespace + "/";
  +  var baseUri      = "slide://" + principal + "@" + nat.getName() + "/";
     var resourcePath = cocoon.request.getParameter("resourcePath");
     var location     = baseUri + resourcePath;
     var source = null;
  @@ -119,7 +119,7 @@
   }
   
   function protected_removeproperty() {
  -  var baseUri = "slide://" + principal + "@" + namespace + "/";
  +  var baseUri = "slide://" + principal + "@" + nat.getName() + "/";
     var resourcePath = cocoon.request.getParameter("resourcePath");
     var location = baseUri + resourcePath;
     var source = null;
  
  
  

Mime
View raw message