Fix previous commit

This commit is contained in:
Dan Stillman 2008-10-13 20:12:19 +00:00
parent 80dc7be1be
commit 71ca2c1b2c

View File

@ -326,7 +326,7 @@ Zotero.Schema = new function(){
while (entries.hasMoreElements()) { while (entries.hasMoreElements()) {
var file = entries.getNext(); var file = entries.getNext();
file.QueryInterface(Components.interfaces.nsIFile); file.QueryInterface(Components.interfaces.nsIFile);
if (!file.exists || !file.leafName.match(fileNameRE) || file.isDirectory()) { if (!file.exists() || !file.leafName.match(fileNameRE) || file.isDirectory()) {
continue; continue;
} }
var newObj = new Zotero[Mode](file); var newObj = new Zotero[Mode](file);