From 16cb63b05910055c31dca821c86f2eb815da99e3 Mon Sep 17 00:00:00 2001 From: Jake Vanderwerf <get@jakevanderwerf.ca> Date: Tue, 12 May 2026 19:02:03 +0000 Subject: [PATCH] =Attempt to stop queue.js from constantly running poll cycle if the status is 429 --- inc/ui/CRUDSkeleton.php | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/inc/ui/CRUDSkeleton.php b/inc/ui/CRUDSkeleton.php index b5e977a..de191ce 100644 --- a/inc/ui/CRUDSkeleton.php +++ b/inc/ui/CRUDSkeleton.php @@ -579,13 +579,16 @@ ?> <details open class="uploader"> <summary class="row btw"><?= esc_html($this->uploaderConfig['label'] ?? 'Upload Files') ?></summary> - <?php - echo Form::render( - 'new_' . $this->dataType, - '', - $this->uploaderConfig - ); - ?> + <form id="uploader" data-form-id="upload_new_<?=$this->dataType ?>"> + <?php + echo jvbFormRestore(); + echo Form::render( + 'new_' . $this->dataType, + '', + $this->uploaderConfig + ); + ?> + </form> </details> <?php } -- Gitblit v1.10.0