display message for cite only styles

This commit is contained in:
Andrew
2020-04-30 16:40:22 +03:00
parent dd0f541ab9
commit bfda068451

View File

@ -667,7 +667,11 @@
}
function insertInDocument(html) {
window.Asc.plugin.executeMethod("PasteHtml", [html]);
if (html) {
window.Asc.plugin.executeMethod("PasteHtml", [html]);
} else {
showError(getMessage("Bibliography cannot be created with selected style"));
}
};
})();