From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it

---
 inc/helpers/media.php |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/inc/helpers/media.php b/inc/helpers/media.php
index 11ec253..80c33c7 100644
--- a/inc/helpers/media.php
+++ b/inc/helpers/media.php
@@ -8,18 +8,22 @@
 {
     ?>
     <dialog class="gallery" aria-modal="true" aria-label="Image Gallery">
+
 		<div class="wrap">
-			<button type="button" class="cancel" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
-			<button class="nav prev row" aria-label="Previous image">
-				<?= jvbIcon('caret-left') ?>
-			</button>
+			<div class="controls row">
+				<button type="button" class="cancel" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
+				<button class="nav prev row" aria-label="Previous image">
+					<?= jvbIcon('caret-left') ?>
+				</button>
 
-			<button class="nav next row" aria-label="Next image">
-				<?= jvbIcon('caret-right') ?>
-			</button>
-
+				<button class="nav next row" aria-label="Next image">
+					<?= jvbIcon('caret-right') ?>
+				</button>
+			</div>
 			<div class="content row">
+				<img src="" alt="" class="image-left">
 				<img src="" alt="" class="image">
+				<img src="" alt="" class="image-right">
 				<details>
 					<summary class="row btw">DETAILS</summary>
 					<div class="item-info"></div>
@@ -32,3 +36,4 @@
     </dialog>
     <?php
 }
+

--
Gitblit v1.10.0