diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js
index 3c95695763..55ddd48e5b 100644
--- a/chrome/content/zotero/elements/itemBox.js
+++ b/chrome/content/zotero/elements/itemBox.js
@@ -970,6 +970,20 @@
removeButton.hidden = true;
addButton.hidden = true;
}
+ else {
+ // Alt+Up/Down to open the type menu
+ td.addEventListener('keydown', (event) => {
+ if ((event.key == 'ArrowUp' || event.key == 'ArrowDown') && event.altKey) {
+ document.popupNode = th;
+ this._creatorTypeMenu.openPopup(th);
+ // Stop propagation during capture phase so we prevent the event from showing the
+ // autocomplete field's popup
+ event.stopPropagation();
+ }
+ }, true);
+ }
+
+ td.ariaLabel = `${Zotero.getString('searchConditions.creator')}: ${label.textContent}`;
this.addDynamicRow(th, td, true);
diff --git a/chrome/content/zotero/standalone/hiddenWindow.xhtml b/chrome/content/zotero/standalone/hiddenWindow.xhtml
index 058bdd274e..c30b4ee6ed 100644
--- a/chrome/content/zotero/standalone/hiddenWindow.xhtml
+++ b/chrome/content/zotero/standalone/hiddenWindow.xhtml
@@ -38,16 +38,14 @@
@@ -70,10 +79,76 @@
+
+
+
+
+
-
+
+
+
+
+
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
index 4a30f991af..fc2bca2182 100644
--- a/chrome/content/zotero/xpcom/zotero.js
+++ b/chrome/content/zotero/xpcom/zotero.js
@@ -953,13 +953,11 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
this.openMainWindow = function () {
- var prefService = Components.classes["@mozilla.org/preferences-service;1"]
- .getService(Components.interfaces.nsIPrefBranch);
- var chromeURI = prefService.getCharPref('toolkit.defaultChromeURI');
- var flags = prefService.getCharPref("toolkit.defaultChromeFeatures", "chrome,dialog=no,all");
+ var chromeURI = AppConstants.BROWSER_CHROME_URL;
+ var flags = "chrome,all,dialog=no";
var ww = Components.classes['@mozilla.org/embedcomp/window-watcher;1']
.getService(Components.interfaces.nsIWindowWatcher);
- return ww.openWindow(null, chromeURI, '_blank', flags, null);
+ ww.openWindow(null, chromeURI, '_blank', flags, null);
}
diff --git a/chrome/content/zotero/zoteroPane.xhtml b/chrome/content/zotero/zoteroPane.xhtml
index ea5dac541c..8df297bb5a 100644
--- a/chrome/content/zotero/zoteroPane.xhtml
+++ b/chrome/content/zotero/zoteroPane.xhtml
@@ -177,28 +177,6 @@
-->
-
-
-