Add File (from current page) uses the correct document now. (thanks Dan)
This commit is contained in:
parent
81a980e4db
commit
1ff56d8650
|
@ -453,7 +453,7 @@ ScholarItemPane = new function()
|
||||||
|
|
||||||
function addFileFromPage()
|
function addFileFromPage()
|
||||||
{
|
{
|
||||||
Scholar.Files.importFromDocument(window.document, _itemBeingEdited.getID());
|
Scholar.Files.importFromDocument(window.content.document, _itemBeingEdited.getID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user