Merge pull request #6935 from redpersongpt/codex/email-paperclip-files

fix(email): retain files in attachment and inline-image pickers
This commit is contained in:
Alexandre Teixeira
2026-10-30 19:02:22 +00:00
committed by GitHub
3 changed files with 66 additions and 3 deletions
+2 -2
View File
@@ -5232,7 +5232,7 @@ import { attachColorPicker } from './colorPicker.js?v=20260910eyedropper1';
}
async function _handleAttachUpload(e) {
const files = e.target.files;
const files = Array.from(e.target.files || []);
e.target.value = ''; // reset for next upload
await _uploadComposeFiles(files);
}
@@ -5963,7 +5963,7 @@ import { attachColorPicker } from './colorPicker.js?v=20260910eyedropper1';
}
async function _handleMarkdownImageUpload(e) {
const files = e.target.files;
const files = Array.from(e.target.files || []);
e.target.value = '';
await _uploadMarkdownImages(files);
}