fix: upload file caching problem

This commit is contained in:
lxsang 2021-04-09 21:52:41 +02:00
parent 7123098049
commit 9f9db3076f
2 changed files with 4 additions and 1 deletions

View File

@ -1242,6 +1242,7 @@ namespace OS {
}); });
}); });
}); });
($("#antos_upload_form")[0] as HTMLFormElement).reset();
return o.trigger("click"); return o.trigger("click");
}); });
} }

View File

@ -1222,7 +1222,9 @@ namespace OS {
<afx-menu id="contextmenu" data-id="contextmenu" context="true" style="display:none;"></afx-menu> <afx-menu id="contextmenu" data-id="contextmenu" context="true" style="display:none;"></afx-menu>
<afx-label id="systooltip" data-id="systooltip" style="display:none;position:absolute;"></afx-label> <afx-label id="systooltip" data-id="systooltip" style="display:none;position:absolute;"></afx-label>
<textarea id="clipboard"></textarea>\ <textarea id="clipboard"></textarea>\
<input type="file" id="antos_upload_files" name="files" multiple style="display: none;">\ <form id="antos_upload_form" style="display: none;">\
<input type="file" id="antos_upload_files" name="files" multiple>\
</form>\
`; `;
schemes.login = `\ schemes.login = `\