pre-img swap

This commit is contained in:
Matt Batchelder
2026-03-23 21:09:27 -04:00
parent 87474b05a9
commit bbe8c1860c
395 changed files with 29643 additions and 712 deletions

View File

@@ -547,6 +547,7 @@ window.openUploadForm = function openUploadForm(options) {
data: formData,
processData: false,
contentType: false,
timeout: 120000,
xhr: function() {
var xhr = new XMLHttpRequest();
xhr.upload.addEventListener('progress', function(e) {
@@ -762,6 +763,7 @@ window.openUploadForm = function openUploadForm(options) {
url: options.url,
type: 'POST',
data: postData,
timeout: 120000,
success: function(response) {
item.status = 'done';
item.$el.removeClass('ots-upload-file--uploading').addClass('ots-upload-file--done');