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:
Vincent Petry 2013-09-01 16:14:46 +02:00
parent 92e90c8eb9
commit 307b673b79
1 changed files with 1 additions and 0 deletions

View File

@ -348,4 +348,5 @@ $(document).ready(function() {
$('#new>a').click();
});
});
window.file_upload_param = file_upload_param;
});