Index: lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag,v diff -u -r1.9 -r1.10 --- lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag 6 Jul 2012 15:38:50 -0000 1.9 +++ lams_tool_spreadsheet/web/WEB-INF/tags/AuthoringButton.tag 26 Nov 2012 09:45:40 -0000 1.10 @@ -83,6 +83,8 @@ } } function doSubmit_Form_Only() { + var code = window.frames["externalSpreadsheet"].cellsToJS(); + document.getElementById("spreadsheet.code").value = code; document.getElementById("${formID}").submit(); } function doCancel() {