fix "XML.toXMLString is not defined"

This commit is contained in:
Simon Kornblith 2011-03-25 07:09:38 +00:00
parent fafc7e9994
commit 4a90c8acda

View File

@ -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);