Don't show an error when canceling integration preferences dialog

This commit is contained in:
Simon Kornblith 2012-07-20 15:31:32 -04:00
parent c39a489ca9
commit cc1ab112f6

View file

@ -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