Add File (from current page) uses the correct document now. (thanks Dan)

This commit is contained in:
David Norton 2006-07-28 16:11:44 +00:00
parent 81a980e4db
commit 1ff56d8650

View file

@ -453,7 +453,7 @@ ScholarItemPane = new function()
function addFileFromPage()
{
Scholar.Files.importFromDocument(window.document, _itemBeingEdited.getID());
Scholar.Files.importFromDocument(window.content.document, _itemBeingEdited.getID());
}
}