Convert export from a popup to a full page.

This commit is contained in:
Isaac Connor 2018-07-09 12:00:10 -04:00
parent 8ca35fa5ab
commit 5ea2edb2ee
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,7 @@ function downloadVideo( element, name ) {
function exportEvents( element, name ) {
var form = element.form;
if ( 0 ) {
var eids = new Array();
for (var i = 0; i < form.elements.length; i++) {
if (form.elements[i].name.indexOf(name) == 0) {
@ -108,6 +109,9 @@ function exportEvents( element, name ) {
}
}
createPopup( '?view=export&'+eids.join( '&' ), 'zmExport', 'export' );
}
form.action='?view=export';
form.submit();
}
function viewEvents( element, name ) {