Fix integration error reporting, broken by 26f5765c29

This commit is contained in:
Simon Kornblith 2012-05-30 00:23:00 -04:00
parent f7f5d8b9d6
commit a549b9a407

View File

@ -657,7 +657,7 @@ Zotero.Integration = new function() {
if(!message && typeof(e) == "object") message = "\n\n"+e.toString();
if(message.indexOf("ExceptionAlreadyDisplayed") !== -1) {
if(message.indexOf("ExceptionAlreadyDisplayed") === -1) {
displayError = Zotero.getString("integration.error.generic")+message;
}
Zotero.debug(e);