[opencms-dev] Re: Create folder - Help

Robson Terra robson_df at terra.com.br
Wed Aug 20 07:38:02 CEST 2003


  Hello everbody,

  When I try to create a new folder I'm getting a error on script below. I guess that the is on encodeURIComponent object. Is there some one that know what's happing?

   if(okay && lengthOkay){ if(whichone==2)document.location.href='explorer_files_new_folder.html?step=1&newfolder='+encodeURIComponent(document.getElementById("name"+whichone).value)+'&title='+encodeURIComponent(document.getElementById("title"+whichone).value); if(whichone==1)document.location.href='explorer_files_new_folder.html?step=1&newfolder='+encodeURIComponent(document.getElementById("name"+whichone).value)+'&title='+encodeURIComponent(document.getElementById("title"+whichone).value)+'&navtitle='+encodeURIComponent(document.getElementById("navtext").value)+'&navpos='+document.getElementById("navpos").value; 

  Best Regard
  Robson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030820/11cc07c0/attachment.htm>


More information about the opencms-dev mailing list