Ensure no further action is taken after the import unavailable prompt

This commit is contained in:
Adomas Venčkauskas 2019-06-04 11:26:37 +03:00
parent b8b8cbba3a
commit 897a042ee0

View file

@ -1667,6 +1667,7 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
// Let's add a parameter this changes later.
ps.alert(null, Zotero.getString('integration.importDocument'),
Zotero.getString('integration.importDocument.notAvailable', "Word"));
return;
}
var buttonFlags = ps.BUTTON_POS_0 * ps.BUTTON_TITLE_IS_STRING