From a9b3b28d001941921aa70d37fdc87c758a163a44 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 05 Jun 2026 16:47:03 +0000
Subject: [PATCH] =Some hefty changes to FeedBlock. Transitioning to loading first page in php to save on extra requests. Got a bit to do yet, but I have to work on Northeh for a bit here.
---
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