fix: cannot export a file if blank tab opened is not closed

Signed-off-by: kushthedude <kushthedude@gmail.com>
This commit is contained in:
kushthedude 2020-02-23 18:34:20 +05:30
parent d9154f4dfe
commit f56dc3e012
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);