From 3baf3d2545ba6ece6b74a64c0def59bd0774cf54 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 10 Jun 2026 16:34:12 +0000
Subject: [PATCH] =Laid the groundwork for an improved DashboardManager.php setup. Have to put it aside so I can get the dang Northeh done though.
---
assets/js/concise/CRUD.js | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/assets/js/concise/CRUD.js b/assets/js/concise/CRUD.js
index 3255643..7ee64ff 100644
--- a/assets/js/concise/CRUD.js
+++ b/assets/js/concise/CRUD.js
@@ -558,7 +558,7 @@
}
}
- if (event === 'sent-to-server') {
+ if (event === 'sent-to-server' && data.type === 'content_update') {
if (data instanceof FormData) return;
for ( let [id, changes] of Object.entries(data.posts)) {
@@ -1294,17 +1294,20 @@
this.ui.modals.edit.form.dataset.formId = `edit-${itemID}`;
+ this.isPopulating = true;
+
this.modals.edit.handleOpen();
this.forms.registerForm(this.ui.modals.edit.form, {cache: false,
autoUpload: true,});
- this.isPopulating = true;
this.populate.populate(this.ui.modals.edit.form, item);
//For quill/taxonomy selector's async setups
requestAnimationFrame(() => {
requestAnimationFrame(() => {
- this.isPopulating = false;
+ setTimeout(() => {
+ this.isPopulating = false;
+ }, 50);
});
});
--
Gitblit v1.10.0