- fix preference links

- fix tab mode tooltip
- zotero://fullscreen opens standalone
This commit is contained in:
Simon Kornblith 2011-02-09 06:42:08 +00:00
parent 701845fa0a
commit 3fd0523b6e
6 changed files with 9 additions and 8 deletions

View file

@ -880,10 +880,10 @@ function ChromeExtensionHandler() {
.wrappedJSObject;
generateContent: try {
var win = Components.classes["@mozilla.org/appshell/window-mediator;1"]
.getService(Components.interfaces.nsIWindowMediator)
.getMostRecentWindow("navigator:browser");
win.ZoteroOverlay.toggleTab(true);
var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.openWindow(null, 'chrome://zotero/content/standalone.xul', '',
'chrome,centerscreen,resizable', null);
}
catch (e) {
Zotero.debug(e);