From 5fa8cbf158cd11800f14d5cf0c2d0f9e2e18ea22 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 24 Dec 2020 14:46:13 -0600 Subject: [PATCH] add Frames button to event view --- web/skins/classic/views/event.php | 1 + web/skins/classic/views/js/event.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php index e50624a4d..82d19ebcb 100644 --- a/web/skins/classic/views/event.php +++ b/web/skins/classic/views/event.php @@ -145,6 +145,7 @@ if ( !$Event->Id() ) { + diff --git a/web/skins/classic/views/js/event.js b/web/skins/classic/views/js/event.js index 3a60fd5ed..8e395727b 100644 --- a/web/skins/classic/views/js/event.js +++ b/web/skins/classic/views/js/event.js @@ -1288,6 +1288,12 @@ function initPage() { } }); + // Manage the FRAMES Button + document.getElementById("framesBtn").addEventListener("click", function onFramesClick(evt) { + evt.preventDefault(); + window.location.assign('?view=frames&eid='+eventData.Id); + }); + // Manage the DELETE button document.getElementById("deleteBtn").addEventListener("click", function onDeleteClick(evt) { if ( ! canEdit.Events ) {