- support testing in frames in Scaffold
- fixed a frame bug in ingester
This commit is contained in:
parent
3e399fa5de
commit
4ff95b1715
|
@ -127,7 +127,7 @@ Zotero_Ingester_Interface.scrapeThisPage = function(saveLocation) {
|
||||||
Zotero_Ingester_Interface.searchFrames = function(rootDoc, searchDoc) {
|
Zotero_Ingester_Interface.searchFrames = function(rootDoc, searchDoc) {
|
||||||
for each(var frame in rootDoc.frames) {
|
for each(var frame in rootDoc.frames) {
|
||||||
if(frame.document == searchDoc ||
|
if(frame.document == searchDoc ||
|
||||||
(frame.document.frames && searchFrames(frame, searchDoc))) {
|
(frame.document.frames && searchFrames(frame.document, searchDoc))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user