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