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.
This commit is contained in:
parent
92e90c8eb9
commit
307b673b79
|
@ -348,4 +348,5 @@ $(document).ready(function() {
|
|||
$('#new>a').click();
|
||||
});
|
||||
});
|
||||
window.file_upload_param = file_upload_param;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue