Remove console log.

This commit is contained in:
BoHung Chiu 2021-06-16 11:56:07 +08:00
parent 75e9d38bea
commit 2371922148
1 changed files with 0 additions and 2 deletions

View File

@ -285,7 +285,6 @@
if(fileupload.length > 0){ if(fileupload.length > 0){
fileupload.find(".fileupload-preview").text(files[0].name); fileupload.find(".fileupload-preview").text(files[0].name);
} }
console.log(files)
var files_list = new FileListItems(files) var files_list = new FileListItems(files)
try{ try{
$(file_field)[0].files = files_list; $(file_field)[0].files = files_list;
@ -299,7 +298,6 @@
$(file_field).after(hidden_input); $(file_field).after(hidden_input);
var files_list_length = files_list.length; var files_list_length = files_list.length;
for(var i = 0; i < files_list_length; i++){ for(var i = 0; i < files_list_length; i++){
console.log(files_list[i].name)
var file = files_list[i]; var file = files_list[i];
$(file_field)[0].files[i] = file; $(file_field)[0].files[i] = file;
file_reader.readAsBinaryString(files_list[i]); file_reader.readAsBinaryString(files_list[i]);