Commit 527c1ca5 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix file element for 2nd upload

parent b2bb2f26
......@@ -89,6 +89,7 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
self.form.submit();
// $(self.id + '_userfile').value = ''; // Won't work in IE
replaceChildNodes(self.id + '_userfile_container', INPUT({'type':'file', 'class':'file', 'id':self.id+'_userfile', 'name':'userfile', 'size':40}));
connect(self.id + '_userfile', 'onchange', self.upload_submit);
return false;
}
......
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