Undoing locale fallback fix on tag -- we'll do this as 1.0.1

This commit is contained in:
Dan Stillman 2007-11-01 17:08:43 +00:00
parent 25ffb504b4
commit 5abb2614e8
2 changed files with 8 additions and 32 deletions

View File

@ -1194,15 +1194,9 @@ Zotero.CSL.Global = new function() {
createInstance();
req.open("GET", prefix + loc + ext, false);
req.overrideMimeType("text/plain");
var fail = false;
try {
req.send(null);
}
catch (e) {
fail = true;
}
req.send(null);
if (!fail) {
if (req.responseText) {
Zotero.CSL.Global._xmlLang = loc;
var xml = req.responseText;
}
@ -1215,15 +1209,9 @@ Zotero.CSL.Global = new function() {
createInstance();
req.open("GET", prefix + loc + ext, false);
req.overrideMimeType("text/plain");
var fail = false;
try {
req.send(null);
}
catch (e) {
fail = true;
}
req.send(null);
if (!fail) {
if (req.responseText) {
Zotero.CSL.Global._xmlLang = loc;
var xml = req.responseText;
}

View File

@ -143,15 +143,9 @@ Zotero.CSL.Compat.Global = new function() {
createInstance();
req.open("GET", prefix + loc + ext, false);
req.overrideMimeType("text/plain");
var fail = false;
try {
req.send(null);
}
catch (e) {
fail = true;
}
req.send(null);
if (!fail) {
if (req.responseText) {
Zotero.CSL.Compat.Global._xmlLang = bibLocale;
var xml = req.responseText;
}
@ -164,15 +158,9 @@ Zotero.CSL.Compat.Global = new function() {
createInstance();
req.open("GET", prefix + loc + ext, false);
req.overrideMimeType("text/plain");
var fail = false;
try {
req.send(null);
}
catch (e) {
fail = true;
}
req.send(null);
if (!fail) {
if (req.responseText) {
Zotero.CSL.Compat.Global._xmlLang = loc;
var xml = req.responseText;
}