Change document import/export documentation URL

This commit is contained in:
Dan Stillman 2019-05-15 01:48:27 -04:00
parent 8b778e20db
commit 2af63c0f33
2 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@ var Zotero_File_Interface_Bibliography = new function() {
};
this.exportDocument = function() {
const importExportWikiURL = "https://www.zotero.org/support/kb/export_import_document";
const documentationURL = "https://www.zotero.org/support/kb/word_processor_document_export";
var ps = Services.prompt;
var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
@ -263,7 +263,7 @@ var Zotero_File_Interface_Bibliography = new function() {
_io.exportDocument = true;
document.documentElement.acceptDialog();
} else if (result == 2) {
Zotero.launchURL(importExportWikiURL);
Zotero.launchURL(documentationURL);
}
}

View file

@ -1621,7 +1621,7 @@ Zotero.Integration.Session.prototype.exportDocument = async function() {
Zotero.Integration.Session.prototype.importDocument = async function() {
const importExportWikiURL = "https://www.zotero.org/support/kb/export_import_document";
const documentationURL = "https://www.zotero.org/support/kb/word_processor_document_export";
var ps = Services.prompt;
var buttonFlags = ps.BUTTON_POS_0 * ps.BUTTON_TITLE_IS_STRING
@ -1638,7 +1638,7 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
throw new Zotero.Exception.UserCancelled("the document import");
}
if (result == 2) {
Zotero.launchURL(importExportWikiURL);
Zotero.launchURL(documentationURL);
throw new Zotero.Exception.UserCancelled("the document import");
}
Zotero.debug("Integration: Importing the document");