Fix for IE JS bug

This commit is contained in:
Simon Kornblith 2011-09-03 23:34:55 +00:00
parent 0d9cddaa34
commit da49efb032

View File

@ -42,7 +42,7 @@ Zotero.Connector_Types = new function() {
for(var i=0; i<schemaTypes.length; i++) {
var schemaType = schemaTypes[i];
this[schemaType] = Zotero.Utilities.deepCopy(Zotero.Connector_Types.schema[schemaType]);
for(var id in this[schemaType]) {
for(var id in Zotero.Connector_Types.schema[schemaType]) {
var entry = this[schemaType][id];
entry.id = parseInt(id);
this[schemaType][entry.name] = entry;