Skip to content
Snippets Groups Projects
Commit 307b673b authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed public upload error that prevents upload

Public upload is broken because the file_upload_param variable expected
to exist by public.js didn't.

This fix sets the variable scope to the window to make it accessible
outside.
parent 92e90c8e
Branches
No related tags found
No related merge requests found
......@@ -348,4 +348,5 @@ $(document).ready(function() {
$('#new>a').click();
});
});
window.file_upload_param = file_upload_param;
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment