From bdcb7950cdc98857868a6a7ecb9a374e4d19db78 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 26 Dec 2021 11:51:22 -0500 Subject: [PATCH] Fix export from event view due to conflict with function name in skin.js --- web/skins/classic/views/js/event.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web/skins/classic/views/js/event.js b/web/skins/classic/views/js/event.js index 04bf66b7e..2c03dd9ca 100644 --- a/web/skins/classic/views/js/event.js +++ b/web/skins/classic/views/js/event.js @@ -710,10 +710,6 @@ function renameEvent() { actQuery('rename', {eventName: newName}); } -function exportEvent() { - window.location.assign('?view=export&eids[]='+eventData.Id); -} - function showEventFrames() { window.location.assign('?view=frames&eid='+eventData.Id); } @@ -1020,11 +1016,11 @@ function initPage() { // Manage the EXPORT button bindButton('#exportBtn', 'click', null, function onExportClick(evt) { evt.preventDefault(); - exportEvent(); + window.location.assign('?view=export&eids[]='+eventData.Id); }); // Manage the generateVideo button - bindButton('#videoBtn', 'click', null, function onExportClick(evt) { + bindButton('#videoBtn', 'click', null, function onVideoClick(evt) { evt.preventDefault(); videoEvent(); });