commit cc1ab112f687dfee8edaf7616dd326c3b68dbdcb parent c39a489ca92a64914b6f9ecf82d35eadb822cd7b Author: Simon Kornblith <simon@simonster.com> Date: Fri, 20 Jul 2012 15:31:32 -0400 Don't show an error when canceling integration preferences dialog Diffstat:
| M | chrome/content/zotero/xpcom/integration.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -2068,7 +2068,7 @@ Zotero.Integration.Session.prototype.setDocPrefs = function(doc, primaryFieldTyp 'chrome://zotero/content/integration/integrationDocPrefs.xul', '', io) .then(function() { if(!io.style) { - throw Zotero.Exception.UserCancelled("document preferences window"); + throw new Zotero.Exception.UserCancelled("document preferences window"); } // set data