Undoing locale fallback fix on tag -- we'll do this as 1.0.1
This commit is contained in:
parent
25ffb504b4
commit
5abb2614e8
|
@ -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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (!fail) {
|
||||
if (req.responseText) {
|
||||
Zotero.CSL.Global._xmlLang = loc;
|
||||
var xml = req.responseText;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (!fail) {
|
||||
if (req.responseText) {
|
||||
Zotero.CSL.Compat.Global._xmlLang = loc;
|
||||
var xml = req.responseText;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user