diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index d3c7c951ea..bd39bf8525 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -534,6 +534,12 @@ return ; } + // Hack to ignore incomplete editors due to rapid note creation in tests + if (Zotero.test && !this._editor.getContent) { + Zotero.logError("editor.getContent doesn't exist"); + return; + } + if (this.value == val) { Zotero.debug("Textbox value hasn't changed"); this._changed = false; @@ -623,6 +629,11 @@