Skip to content

Commit

Permalink
Moves utilities code away from Zotero.Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
adomasven committed Jan 3, 2018
1 parent 2bc44dd commit 430f58d
Show file tree
Hide file tree
Showing 5 changed files with 384 additions and 384 deletions.
3 changes: 1 addition & 2 deletions chrome/content/zotero/bibliography.js
Expand Up @@ -283,8 +283,7 @@ var Zotero_File_Interface_Bibliography = new function() {
document.documentElement.getButton('cancel').click();
var win = Zotero.Utilities.Internal.openPreferences('zotero-prefpane-cite', { tab: 'styles-tab' });
if (isDocPrefs) {
// TODO: Move activate() code elsewhere
Zotero.Integration.activate(win);
Zotero.Utilities.Internal.activate(win);
}
};
}
2 changes: 1 addition & 1 deletion chrome/content/zotero/integration/quickFormat.js
Expand Up @@ -1320,7 +1320,7 @@ var Zotero_QuickFormat = new function () {
pane.selectItem(id);

// Pull window to foreground
Zotero.Integration.activate(pane.document.defaultView);
Zotero.Utilities.Internal.activate(pane.document.defaultView);
}

/**
Expand Down

0 comments on commit 430f58d

Please sign in to comment.