change exportEvent to expertEvents
This commit is contained in:
parent
402c38725b
commit
e2cb8a656d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue