diff --git a/chrome/content/zotero/bindings/oldnoteeditor.xml b/chrome/content/zotero/bindings/oldnoteeditor.xml deleted file mode 100644 index 36e784d49b..0000000000 --- a/chrome/content/zotero/bindings/oldnoteeditor.xml +++ /dev/null @@ -1,583 +0,0 @@ - - - - - - - - - - - - - - false - false - false - false - false - - - - - - - - - "view" - - - ed.setMode('readonly')); - } - break; - - case 'edit': - if (this.noteField) { - this.noteField.onInit(ed => ed.setMode('design')); - } - this.editable = true; - this.saveOnEdit = true; - this.parentClickHandler = this.selectParent; - this.keyDownHandler = this.handleKeyDown; - this.commandHandler = this.save; - this.displayTags = true; - this.displayRelated = true; - break; - - default: - throw ("Invalid mode '" + val + "' in noteeditor.xml"); - } - - this._mode = val; - document.getAnonymousNodes(this)[0].setAttribute('mode', val); - this._id('links-box').mode = val; - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { - if (!noteField.hasFocus()) { - document.getElementById(id).focus(); - } - }, 0); - } - return; - } - - break; - } - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0) { - var x = this.boxObject.screenX; - var y = this.boxObject.screenY; - this.id('relatedPopup').openPopupAtScreen(x, y, false); - } - else { - this.id('related').add(); - } - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/chrome/skin/default/zotero/zotero.css b/chrome/skin/default/zotero/zotero.css index 65ee6fe7dc..69ae9fbd17 100644 --- a/chrome/skin/default/zotero/zotero.css +++ b/chrome/skin/default/zotero/zotero.css @@ -46,11 +46,6 @@ zoteronoteeditor -moz-binding: url('chrome://zotero/content/bindings/noteeditor.xml#note-editor'); } -oldzoteronoteeditor -{ - -moz-binding: url('chrome://zotero/content/bindings/oldnoteeditor.xml#note-editor'); -} - linksbox { -moz-binding: url('chrome://zotero/content/bindings/noteeditor.xml#links-box');