mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-24 07:20:45 -04:00
Attachments with empty file name fix
This commit is contained in:
parent
fcce915a5f
commit
fa662547fe
2 changed files with 4 additions and 1 deletions
|
@ -3265,6 +3265,9 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/FileReader#readAsDataURL()}
|
||||
*/
|
||||
function readFileData(loadedFiles) {
|
||||
// Clear old cache
|
||||
me.removeAttachmentData();
|
||||
|
||||
if (typeof FileReader === 'undefined') {
|
||||
// revert loading status…
|
||||
me.hideAttachment();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue