commit bf122add81b39521c6613553099a87cd1186978f parent 7a15c889725b1f6fa5d4565d5e8ec3175f819bc0 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 1 Mar 2018 18:19:26 -0500 Remove special handling of Cmd-Shift-Z in notes No longer relevant in standalone app Diffstat:
| M | chrome/content/zotero/bindings/styled-textbox.xml | | | 17 | ----------------- |
1 file changed, 0 insertions(+), 17 deletions(-)
diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml @@ -410,15 +410,6 @@ } switch (event.type) { case 'keydown': - // Intercept and manually trigger redo for Cmd-Shift-Z, - // which keeps it from toggling the Zotero pane instead - if (Zotero.isMac && event.metaKey && event.shiftKey && !event.ctrlKey - && !event.altKey && event.keyCode == 90) { - event.stopPropagation(); - event.preventDefault(); - this.redo(); - return; - } // Handle forward-delete, which doesn't register as a keypress // when a selection is cleared if (event.which == event.DOM_VK_DELETE) { @@ -609,14 +600,6 @@ </body> </method> - <method name="redo"> - <body> - <![CDATA[ - this._editor.undoManager.redo(); - ]]> - </body> - </method> - <method name="clearUndo"> <body> <![CDATA[