parent
df3e7a600e
commit
be3b245dbe
1 changed files with 6 additions and 6 deletions
|
@ -514,6 +514,12 @@ Zotero.Fulltext = Zotero.FullText = new function(){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var maxLength = Zotero.Prefs.get('fulltext.textMaxLength');
|
||||||
|
if (!maxLength) {
|
||||||
|
Zotero.debug('fulltext.textMaxLength is 0 -- skipping indexing');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (contentType == 'application/pdf') {
|
if (contentType == 'application/pdf') {
|
||||||
return this.indexPDF(path, item.id, complete);
|
return this.indexPDF(path, item.id, complete);
|
||||||
}
|
}
|
||||||
|
@ -523,12 +529,6 @@ Zotero.Fulltext = Zotero.FullText = new function(){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var maxLength = Zotero.Prefs.get('fulltext.textMaxLength');
|
|
||||||
if (!maxLength) {
|
|
||||||
Zotero.debug('fulltext.textMaxLength is 0 -- skipping indexing');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
Zotero.debug('Indexing file ' + path);
|
Zotero.debug('Indexing file ' + path);
|
||||||
|
|
||||||
var text;
|
var text;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue