Fix export from event view due to conflict with function name in skin.js
This commit is contained in:
parent
2aacbf790a
commit
bdcb7950cd
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue