mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
changed userPhoto to files[]
This commit is contained in:
@@ -20,9 +20,8 @@ define('uploader', ['csrf'], function(csrf) {
|
||||
uploadForm[0].reset();
|
||||
uploadForm.attr('action', route);
|
||||
uploadForm.find('#params').val(JSON.stringify(params));
|
||||
// uploadForm.find('#csrfToken').val(csrf.get());
|
||||
|
||||
if(fileSize) {
|
||||
if (fileSize) {
|
||||
uploadForm.find('#upload-file-size').html(fileSize);
|
||||
uploadForm.find('#file-size-block').removeClass('hide');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user