Don't show an error when canceling integration preferences dialog
This commit is contained in:
parent
c39a489ca9
commit
cc1ab112f6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue