Convert export from a popup to a full page.
This commit is contained in:
parent
8ca35fa5ab
commit
5ea2edb2ee
|
@ -99,6 +99,7 @@ function downloadVideo( element, name ) {
|
||||||
|
|
||||||
function exportEvents( element, name ) {
|
function exportEvents( element, name ) {
|
||||||
var form = element.form;
|
var form = element.form;
|
||||||
|
if ( 0 ) {
|
||||||
var eids = new Array();
|
var eids = new Array();
|
||||||
for (var i = 0; i < form.elements.length; i++) {
|
for (var i = 0; i < form.elements.length; i++) {
|
||||||
if (form.elements[i].name.indexOf(name) == 0) {
|
if (form.elements[i].name.indexOf(name) == 0) {
|
||||||
|
@ -108,6 +109,9 @@ function exportEvents( element, name ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
createPopup( '?view=export&'+eids.join( '&' ), 'zmExport', 'export' );
|
createPopup( '?view=export&'+eids.join( '&' ), 'zmExport', 'export' );
|
||||||
|
}
|
||||||
|
form.action='?view=export';
|
||||||
|
form.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function viewEvents( element, name ) {
|
function viewEvents( element, name ) {
|
||||||
|
|
Loading…
Reference in New Issue