Wikidata: Use distinct tabs for QS and schema export. Closes #2097.

This commit is contained in:
Antonin Delpeuch 2019-07-23 10:31:17 +01:00
parent 154d62ae5b
commit 79a0391ddb

View File

@ -51,7 +51,7 @@ WikibaseExporterMenuBar.exportTo = function(format) {
$(form).css("display", "none")
.attr("method", "post")
.attr("action", "command/core/export-rows/"+targetUrl)
.attr("target", "gridworks-export");
.attr("target", "gridworks-export-"+format);
$('<input />')
.attr("name", "engine")
.attr("value", JSON.stringify(ui.browsingEngine.getJSON()))