From c4bc2c144c4934997e99a313fd2ef5a05554b8bc Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 19 Apr 2008 21:19:56 +0000 Subject: [PATCH] Addresses #973, citation editor broken in FF3 --- chrome/content/zotero/bindings/styled-textbox.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 45083b1d1..31ca1763d 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -181,7 +181,10 @@ this._styleWithCSS = true; } - this._browser.contentDocument.execCommand("styleWithCSS", false, this._styleWithCSS); + try { + this._browser.contentDocument.execCommand("styleWithCSS", false, this._styleWithCSS); + } + catch (e) {} } return val; ]]>