From 88d9e0e2b7997eb0c96dc737082c91b4e3f7ca6e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 17 Jun 2026 15:10:37 +0000
Subject: [PATCH] =Fixed for single image upload fields populating the image meta. Need to check galleries now.
---
assets/js/concise/Modal.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/assets/js/concise/Modal.js b/assets/js/concise/Modal.js
index 39d345f..8231740 100644
--- a/assets/js/concise/Modal.js
+++ b/assets/js/concise/Modal.js
@@ -133,9 +133,10 @@
return;
}
- if (this.elements.save && window.targetCheck(e, this.elements.save)) {
- this.handleClose();
- } else if (this.elements.close && window.targetCheck(e, this.elements.close)) {
+ // if (this.elements.save && window.targetCheck(e, this.elements.save)) {
+ // this.handleClose();
+ // } else
+ if (this.elements.close && window.targetCheck(e, this.elements.close)) {
// Additional check: only close if we're the top modal
if (ModalController.modalStack[ModalController.modalStack.length - 1] === this) {
this.handleClose();
--
Gitblit v1.10.0