commit c32144ddfd1fd7edc68e7689073dba6e43596ff2 parent 954f8bd001a4767f33206b0df70f8b26f8aadc69 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 19 Jun 2014 17:47:56 -0400 Fixes #503, Notes broken on Firefox 32 Unwrap the editor object if it's wrapped Diffstat:
| M | chrome/content/zotero/bindings/styled-textbox.xml | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml @@ -418,7 +418,13 @@ if (!SJOW.zoteroInit) { SJOW.zoteroInit = function(editor) { - self._editor = editor; + // Necessary in Fx32+ + if (editor.wrappedJSObject) { + self._editor = editor.wrappedJSObject; + } + else { + self._editor = editor; + } if (self._value) { self.value = self._value; }