forked from science-ation/science-ation
- Different downloading method
This commit is contained in:
parent
7c6e52c8ef
commit
c20b474b1c
@ -129,7 +129,8 @@ case 'dialog_gen':
|
|||||||
$("#report_dialog_gen_pdf_button").click(function () {
|
$("#report_dialog_gen_pdf_button").click(function () {
|
||||||
var dlargs = $('#report_dialog_form').serialize();
|
var dlargs = $('#report_dialog_form').serialize();
|
||||||
var dlurl = "<?=$config['SFIABDIRECTORY']?>/admin/reports_gen.php?"+dlargs;
|
var dlurl = "<?=$config['SFIABDIRECTORY']?>/admin/reports_gen.php?"+dlargs;
|
||||||
$('#content').attr('src',dlurl);
|
// $('#content').attr('src',dlurl);
|
||||||
|
window.location.href=dlurl;
|
||||||
$('#report_dialog_gen').dialog("close");
|
$('#report_dialog_gen').dialog("close");
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user