diff --git a/source/web/scripts/office/external_component.js b/source/web/scripts/office/external_component.js index 9d1528a820..572b9a9c0c 100755 --- a/source/web/scripts/office/external_component.js +++ b/source/web/scripts/office/external_component.js @@ -105,9 +105,9 @@ var MSOffice = new Class( return window.external.compareDocument(url); }, - insertDocument: function(relativePath) + insertDocument: function(relativePath, nodeRef) { - return window.external.insertDocument(); + return window.external.insertDocument(relativePath, nodeRef); } });