fix: cannot export a file if blank tab opened is not closed
Signed-off-by: kushthedude <kushthedude@gmail.com>
This commit is contained in:
parent
d9154f4dfe
commit
f56dc3e012
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user