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 ) {
|
||||
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) {
|
||||
|
@ -109,6 +110,9 @@ function exportEvents( element, name ) {
|
|||
}
|
||||
createPopup( '?view=export&'+eids.join( '&' ), 'zmExport', 'export' );
|
||||
}
|
||||
form.action='?view=export';
|
||||
form.submit();
|
||||
}
|
||||
|
||||
function viewEvents( element, name ) {
|
||||
var form = element.form;
|
||||
|
|
Loading…
Reference in New Issue