Index: lams_tool_mindmap/web/pages/authoring/authoring.jsp =================================================================== diff -u -r490538b019293e777795484a0ca53b09e2e053c8 -r2431a75679b1f5cecb32e5e28100c36b0e8e7860 --- lams_tool_mindmap/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 490538b019293e777795484a0ca53b09e2e053c8) +++ lams_tool_mindmap/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 2431a75679b1f5cecb32e5e28100c36b0e8e7860) @@ -34,6 +34,12 @@ { swfobject.embedSWF("${mindmapType}", "flashContent", x, y, "9.0.0", false, flashvars); } + + // set Mindmap content before submitting authoring form + $(document).ready(function(){ + // selects "save" button in lams:AuthoringButton tag + $('a[href*="doSubmit_Form_Only()"]').click(setMindmapContent); + }); //]]>