Index: lams_tool_mindmap/web/pages/learning/mindmap.jsp
===================================================================
diff -u -r324f94f5410569681a4a4d831d2d8023804c971b -r216faf48cfe263a39e62f3ffd4a9f1203348ed53
--- lams_tool_mindmap/web/pages/learning/mindmap.jsp (.../mindmap.jsp) (revision 324f94f5410569681a4a4d831d2d8023804c971b)
+++ lams_tool_mindmap/web/pages/learning/mindmap.jsp (.../mindmap.jsp) (revision 216faf48cfe263a39e62f3ffd4a9f1203348ed53)
@@ -14,6 +14,9 @@
}
function submitForm(methodName) {
+ // Sets mindmap content in Flash
+ setMindmapContent();
+
var f = document.getElementById('submitForm');
f.submit();
}
@@ -30,9 +33,6 @@
// Validates that there's input from the user.
// disables the Finish button to avoid double submittion
disableFinishButton();
-
- // Sets mindmap content in Flash
- setMindmapContent();
}
flashvars = { xml: "${mindmapContentPath}", user: "${currentMindmapUser}",
@@ -57,7 +57,7 @@
$(window).resize(makeNice);
- function makeNice(){
+ function makeNice() {
flash = document.getElementById('flashContent');
container = document.getElementById('container');
flash.style.width = container.clientWidth+"px";
@@ -96,6 +96,7 @@