fix export from event view. There is a global exportEvent Function, so rename ours

pull/3609/head
Isaac Connor 2022-09-15 16:43:22 +00:00
parent c395a61719
commit be50ea893d
1 changed files with 2 additions and 2 deletions

View File

@ -710,7 +710,7 @@ function renameEvent() {
actQuery('rename', {eventName: newName});
}
function exportEvent() {
function goToExportEvent() {
window.location.assign('?view=export&eids[]='+eventData.Id);
}
@ -1020,7 +1020,7 @@ function initPage() {
// Manage the EXPORT button
bindButton('#exportBtn', 'click', null, function onExportClick(evt) {
evt.preventDefault();
exportEvent();
goToExportEvent();
});
// Manage the generateVideo button