fixes to export functions
This commit is contained in:
parent
f13533cab7
commit
aac47ed361
|
@ -999,5 +999,5 @@ function exportEvents(
|
|||
unlink($monitorPath.'/'.$html_eventMaster);
|
||||
}
|
||||
|
||||
return '?view=archive%26type='.$exportFormat.'%26connkey='.$connkey;
|
||||
return '?view=archive&type='.$exportFormat.'&connkey='.$connkey;
|
||||
} // end function exportEvents
|
||||
|
|
|
@ -830,10 +830,11 @@ function startDownload( exportFile ) {
|
|||
}
|
||||
|
||||
function exportResponse(data, responseText) {
|
||||
console.log(data);
|
||||
console.log('exportResponse data: ' + JSON.stringify(data));
|
||||
|
||||
var generated = (data.result=='Ok') ? 1 : 0;
|
||||
var exportFile = '?view=archive&type='+data.exportFormat+'&connkey='+data.connkey;
|
||||
//var exportFile = '?view=archive&type='+data.exportFormat+'&connkey='+data.connkey;
|
||||
var exportFile = data.exportFile;
|
||||
|
||||
$j('#exportProgress').removeClass( 'text-warning' );
|
||||
if ( generated ) {
|
||||
|
|
Loading…
Reference in New Issue