From 35186d77d3dea016b8e7f0b300a9a1b85b157034 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 1 Apr 2008 06:49:29 +0000 Subject: [PATCH] Fixes #913, Syntax error in global.dtd in Firefox 3 --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 97def4c28..9b046997d 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -163,6 +163,7 @@ var Zotero = new function(){ var xmlhttp = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"] .createInstance(); xmlhttp.open('GET', 'chrome://global/locale/global.dtd', false); + xmlhttp.overrideMimeType('text/plain'); xmlhttp.send(null); this.dir = xmlhttp.responseText.match(/(ltr|rtl)/)[0]; @@ -527,7 +528,6 @@ var Zotero = new function(){ '[JavaScript Error: "document.getElementById("sanitizeItem")', 'chrome://webclipper', 'No chrome package registered for chrome://piggy-bank', - 'global/global.dtd' ]; for (var i=0; i