diff --git a/web/skins/classic/views/js/export.js b/web/skins/classic/views/js/export.js index d553f9385..7dd7f6c6d 100644 --- a/web/skins/classic/views/js/export.js +++ b/web/skins/classic/views/js/export.js @@ -65,7 +65,7 @@ function exportResponse(respObj, respText) { //window.location.replace( thisUrl+'?view='+currentView+'&'+eids.join('&')+'&exportFile='+respObj.exportFile+'&generated='+((respObj.result=='Ok')?1:0) ); } -function exportEvent( ) { +function exportEvents( ) { var parms = 'view=event&request=event&action=export'; parms += '&'+$('contentForm').toQueryString(); var query = new Request.JSON( { @@ -87,7 +87,7 @@ function initPage() { if ( exportReady ) { startDownload.pass(exportFile).delay(1500); } - document.getElementById('exportButton').addEventListener('click', exportEvent); + document.getElementById('exportButton').addEventListener('click', exportEvents); } window.addEventListener('DOMContentLoaded', initPage);