Merge pull request #2325 from kushthedude/exp
fix: cannot export a file if blank tab opened is not closed
This commit is contained in:
commit
55e77f4066
@ -320,7 +320,7 @@ CustomTabularExporterDialog.prototype._postExport = function(preview) {
|
|||||||
|
|
||||||
document.body.appendChild(form);
|
document.body.appendChild(form);
|
||||||
|
|
||||||
window.open("about:blank", "refine-export");
|
window.open(" ", "refine-export");
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
document.body.removeChild(form);
|
document.body.removeChild(form);
|
||||||
|
@ -368,7 +368,7 @@ function SqlExporterDialog(options) {
|
|||||||
// alert("form::" + form);
|
// alert("form::" + form);
|
||||||
document.body.appendChild(form);
|
document.body.appendChild(form);
|
||||||
|
|
||||||
window.open("about:blank", "refine-export");
|
window.open(" ", "refine-export");
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
document.body.removeChild(form);
|
document.body.removeChild(form);
|
||||||
|
@ -169,7 +169,7 @@ TemplatingExporterDialog.prototype._export = function() {
|
|||||||
|
|
||||||
document.body.appendChild(form);
|
document.body.appendChild(form);
|
||||||
|
|
||||||
window.open("about:blank", "refine-export");
|
window.open(" ", "refine-export");
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
document.body.removeChild(form);
|
document.body.removeChild(form);
|
||||||
|
@ -126,7 +126,7 @@ ExporterManager.handlers.exportRows = function(format, ext) {
|
|||||||
|
|
||||||
document.body.appendChild(form);
|
document.body.appendChild(form);
|
||||||
|
|
||||||
window.open("about:blank", "refine-export");
|
window.open(" ", "refine-export");
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
document.body.removeChild(form);
|
document.body.removeChild(form);
|
||||||
@ -235,7 +235,7 @@ ExporterManager.handlers.exportProject = function() {
|
|||||||
|
|
||||||
document.body.appendChild(form);
|
document.body.appendChild(form);
|
||||||
|
|
||||||
window.open("about:blank", "refine-export");
|
window.open(" ", "refine-export");
|
||||||
form.submit();
|
form.submit();
|
||||||
|
|
||||||
document.body.removeChild(form);
|
document.body.removeChild(form);
|
||||||
|
Loading…
Reference in New Issue
Block a user