Commit 86ebc756 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix for #445

parent 98067fd7
......@@ -451,10 +451,10 @@ function FileUploader(element, uploadscript, statevars, foldername, folderid, up
INPUT({'type':'hidden', 'name':'parentfoldername', 'value':self.foldername}),
INPUT({'type':'hidden', 'name':'collideaction', 'value':collideaction}),
INPUT({'type':'hidden', 'name':'uploadnumber', 'value':self.nextupload}));
if (self.folderid) {
appendChildNodes(self.form,
INPUT({'type':'hidden', 'name':'parentfolder', 'value':self.folderid}));
}
appendChildNodes(self.form,
INPUT({'type':'hidden', 'name':'parentfolder', 'value':self.folderid}));
if (self.createid) {
appendChildNodes(self.form,
INPUT({'type':'hidden', 'name':'createid', 'value':self.createid}));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment