Index: lams_tool_mindmap/web/pages/learning/mindmap.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_mindmap/web/pages/learning/mindmap.jsp,v
diff -u -r1.5 -r1.6
--- lams_tool_mindmap/web/pages/learning/mindmap.jsp 16 Apr 2009 07:00:39 -0000 1.5
+++ lams_tool_mindmap/web/pages/learning/mindmap.jsp 17 Apr 2009 07:26:30 -0000 1.6
@@ -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 @@