Merge pull request #2325 from kushthedude/exp

fix: cannot export a file if blank tab opened is not closed
This commit is contained in:
Antonin Delpeuch 2020-02-27 10:27:07 -08:00 committed by GitHub
commit 55e77f4066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -320,7 +320,7 @@ CustomTabularExporterDialog.prototype._postExport = function(preview) {
document.body.appendChild(form);
window.open("about:blank", "refine-export");
window.open(" ", "refine-export");
form.submit();
document.body.removeChild(form);

View File

@ -368,7 +368,7 @@ function SqlExporterDialog(options) {
// alert("form::" + form);
document.body.appendChild(form);
window.open("about:blank", "refine-export");
window.open(" ", "refine-export");
form.submit();
document.body.removeChild(form);

View File

@ -169,7 +169,7 @@ TemplatingExporterDialog.prototype._export = function() {
document.body.appendChild(form);
window.open("about:blank", "refine-export");
window.open(" ", "refine-export");
form.submit();
document.body.removeChild(form);

View File

@ -126,7 +126,7 @@ ExporterManager.handlers.exportRows = function(format, ext) {
document.body.appendChild(form);
window.open("about:blank", "refine-export");
window.open(" ", "refine-export");
form.submit();
document.body.removeChild(form);
@ -235,7 +235,7 @@ ExporterManager.handlers.exportProject = function() {
document.body.appendChild(form);
window.open("about:blank", "refine-export");
window.open(" ", "refine-export");
form.submit();
document.body.removeChild(form);