Fix export from event view due to conflict with function name in skin.js

This commit is contained in:
Isaac Connor 2021-12-26 11:51:22 -05:00
parent 2aacbf790a
commit bdcb7950cd
1 changed files with 2 additions and 6 deletions

View File

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