commit 4a90c8acdaa15417637c75d87e8c934cc9897233
parent fafc7e999427dacf15268e38ad793a81a7f68129
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 25 Mar 2011 07:09:38 +0000
fix "XML.toXMLString is not defined"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/style.js b/chrome/content/zotero/xpcom/style.js
@@ -510,7 +510,7 @@ Zotero.Style.prototype.getXML = function() {
this._class = xml.@class.toString();
this._hasBibliography = !!xml.bibliography.length();
- return XML.toXMLString();
+ return xml.toXMLString();
} else {
var indepFile = this.independentFile;
if(indepFile) return Zotero.File.getContents(indepFile);