Fix translator error reporting on trunk (inRepository property was missing on Zotero.Translator objects)
This commit is contained in:
parent
6078eb1d59
commit
5cd824136e
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ Zotero.Translator = function(file) {
|
||||||
if(info) {
|
if(info) {
|
||||||
var haveMetadata = true;
|
var haveMetadata = true;
|
||||||
// make sure we have all the properties
|
// make sure we have all the properties
|
||||||
for each(var property in ["translatorID", "translatorType", "label", "target", "priority", "lastUpdated"]) {
|
for each(var property in ["translatorID", "translatorType", "label", "target", "priority", "lastUpdated", "inRepository"]) {
|
||||||
if(info[property] === undefined) {
|
if(info[property] === undefined) {
|
||||||
this.logError('Missing property "'+property+'" in translator metadata JSON object');
|
this.logError('Missing property "'+property+'" in translator metadata JSON object');
|
||||||
haveMetadata = false;
|
haveMetadata = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue