Browse Source

Finished!

Igor 3 years ago
parent
commit
9977830c3d
93 changed files with 55521 additions and 8 deletions
  1. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/css/ihanoi_style.css
  2. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk1.png
  3. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk2.png
  4. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk3.png
  5. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk4.png
  6. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk5.png
  7. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/disk6.png
  8. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/fundo1.png
  9. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/fundo2.png
  10. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/hasteA.png
  11. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/hasteB.png
  12. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/hasteC.png
  13. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/img/img_fundo_hanoi.png
  14. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/index.html
  15. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/js/ihanoi.js
  16. 0 0
      ilm/iHanoi/1.0.20200803/ihanoi/js/integration-functions.js
  17. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/codemirror.css
  18. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/NimbusSanLConBold.ttf
  19. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/NimbusSanLConRegular.ttf
  20. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/cyrillic-ext-roboto.woff2
  21. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/cyrillic-roboto.woff2
  22. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/greek-ext-roboto.woff2
  23. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/greek-roboto.woff2
  24. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/latin-ext-roboto.woff2
  25. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/latin-roboto.woff2
  26. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/texgyreheros-regular.otf
  27. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/fonts/vietnamese-roboto.woff2
  28. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/ivprog-assessment.css
  29. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/ivprog-editor.css
  30. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/ivprog-term.css
  31. 16 3
      ilm/iVProg/1.0.20200221/ivprog/css/ivprog-visual-1.0.css
  32. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/roboto.css
  33. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/semantic.min.css
  34. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/show-hint.css
  35. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.eot
  36. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.svg
  37. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.ttf
  38. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.woff
  39. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.woff2
  40. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.eot
  41. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.otf
  42. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.svg
  43. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.ttf
  44. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.woff
  45. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.woff2
  46. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.eot
  47. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.svg
  48. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.ttf
  49. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.woff
  50. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.woff2
  51. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/images/flags.png
  52. 0 0
      ilm/iVProg/1.0.20200221/ivprog/css/ttcn.css
  53. 0 0
      ilm/iVProg/1.0.20200221/ivprog/img/empty.svg
  54. 0 0
      ilm/iVProg/1.0.20200221/ivprog/img/new_line.svg
  55. 0 0
      ilm/iVProg/1.0.20200221/ivprog/img/no_new_line.svg
  56. 0 0
      ilm/iVProg/1.0.20200221/ivprog/img/trash-icon.png
  57. 1 1
      ilm/iVProg/1.0.20200221/ivprog/index.html
  58. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/Sortable.js
  59. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/iassign-integration-functions.js
  60. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/jquery-ui.min.js
  61. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/jquery.json-editor.min.js
  62. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/jquery.min.js
  63. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.0dbe69c90e79a59997bc.js
  64. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.0dbe69c90e79a59997bc.js.map
  65. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.178e3d646fb79d7bafa6.js
  66. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.178e3d646fb79d7bafa6.js.map
  67. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.25bbb06803f26e12b972.js
  68. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.25bbb06803f26e12b972.js.map
  69. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.308b4036355a0af3793b.js
  70. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.308b4036355a0af3793b.js.map
  71. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.30fa082cc8a9942d60d0.js
  72. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.30fa082cc8a9942d60d0.js.map
  73. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.5e7761a70f5b53c69b09.js
  74. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.5e7761a70f5b53c69b09.js.map
  75. 27741 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.6c02d4b0a0f0875beb2e.js
  76. 1 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.6c02d4b0a0f0875beb2e.js.map
  77. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.7e850e1e799453d24cec.js
  78. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.7e850e1e799453d24cec.js.map
  79. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.96c8c56bbdf2ab0724c3.js
  80. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.96c8c56bbdf2ab0724c3.js.map
  81. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d37a85f034d619e41454.js
  82. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d37a85f034d619e41454.js.map
  83. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d3a24f40f33b9a1c322a.js
  84. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d3a24f40f33b9a1c322a.js.map
  85. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d4ddc7e5339f9c968f82.js
  86. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.d4ddc7e5339f9c968f82.js.map
  87. 27756 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.e0ee3563388774042d6b.js
  88. 1 0
      ilm/iVProg/1.0.20200221/ivprog/js/main.e0ee3563388774042d6b.js.map
  89. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/semantic.min.js
  90. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/vendors~main.685d1cf2ece1ed4ebb99.js
  91. 0 0
      ilm/iVProg/1.0.20200221/ivprog/js/vendors~main.685d1cf2ece1ed4ebb99.js.map
  92. 1 1
      ilm/iVProg/1.0.20200221/ivprog/runner.html
  93. 4 3
      locallib.php

+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/css/ihanoi_style.css


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk1.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk2.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk3.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk4.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk5.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/disk6.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/fundo1.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/fundo2.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/hasteA.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/hasteB.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/hasteC.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/img/img_fundo_hanoi.png


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/index.html


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/js/ihanoi.js


+ 0 - 0
ilm/iHanoi/1.0.20200803/ihanoi/js/integration-functions.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/codemirror.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/NimbusSanLConBold.ttf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/NimbusSanLConRegular.ttf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/cyrillic-ext-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/cyrillic-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/greek-ext-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/greek-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/latin-ext-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/latin-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/texgyreheros-regular.otf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/fonts/vietnamese-roboto.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/ivprog-assessment.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/ivprog-editor.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/ivprog-term.css


+ 16 - 3
ilm/iVProg/1.0.20200221/ivprog/css/ivprog-visual-1.0.css

@@ -1088,15 +1088,15 @@ div.ui.dropdown.menu_commands.pause {
 
 .context_menu {
 	display: inline;
-	float: right;
-	margin: 0;
+	margin-left: 1rem;
 }
 
 .data_block_if span.textual_expression,
 .ui.dowhiletrue span.textual_expression,
 .ui.whiletrue span.textual_expression,
 .attribution span.textual_expression,
-.writer span.textual_expression {
+.writer span.textual_expression,
+.return span.textual_expression {
 	color: #2325a6;
 	font-weight: bold;
 	font-size: 1.2rem;
@@ -1127,4 +1127,17 @@ i.button_alternate_expression {
 
 .writer .button_alternate_expression {
 	margin-left: 2.5rem;
+}
+
+.ui.dropdown.menu_commands.pause button {
+	border: none;
+	background: #f2711c;
+	color: white;
+	border-radius: .2rem;
+	padding: .1rem;
+	padding-left: 0.1rem;
+	font-size: .9rem;
+	padding-left: .25rem;
+	cursor: pointer;
+	margin-top: .15rem;
 }

+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/roboto.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/semantic.min.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/show-hint.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.eot


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.ttf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.woff


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/brand-icons.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.eot


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.otf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.ttf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.woff


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/icons.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.eot


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.ttf


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.woff


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/fonts/outline-icons.woff2


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/themes/default/assets/images/flags.png


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/css/ttcn.css


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/img/empty.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/img/new_line.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/img/no_new_line.svg


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/img/trash-icon.png


+ 1 - 1
ilm/iVProg/1.0.20200221/ivprog/index.html

@@ -115,7 +115,7 @@
     </div>
     <script src="js/iassign-integration-functions.js"></script>
   </div>
-  <script src="js/vendors~main.685d1cf2ece1ed4ebb99.js"></script><script src="js/main.5e7761a70f5b53c69b09.js"></script></body>
+  <script src="js/vendors~main.685d1cf2ece1ed4ebb99.js"></script><script src="js/main.e0ee3563388774042d6b.js"></script></body>
   <script>
     var mouseX;
     var mouseY;

+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/Sortable.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/iassign-integration-functions.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/jquery-ui.min.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/jquery.json-editor.min.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/jquery.min.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.0dbe69c90e79a59997bc.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.0dbe69c90e79a59997bc.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.178e3d646fb79d7bafa6.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.178e3d646fb79d7bafa6.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.25bbb06803f26e12b972.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.25bbb06803f26e12b972.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.308b4036355a0af3793b.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.308b4036355a0af3793b.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.30fa082cc8a9942d60d0.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.30fa082cc8a9942d60d0.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.5e7761a70f5b53c69b09.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.5e7761a70f5b53c69b09.js.map


File diff suppressed because it is too large
+ 27741 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.6c02d4b0a0f0875beb2e.js


File diff suppressed because it is too large
+ 1 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.6c02d4b0a0f0875beb2e.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.7e850e1e799453d24cec.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.7e850e1e799453d24cec.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.96c8c56bbdf2ab0724c3.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.96c8c56bbdf2ab0724c3.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d37a85f034d619e41454.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d37a85f034d619e41454.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d3a24f40f33b9a1c322a.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d3a24f40f33b9a1c322a.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d4ddc7e5339f9c968f82.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.d4ddc7e5339f9c968f82.js.map


File diff suppressed because it is too large
+ 27756 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.e0ee3563388774042d6b.js


File diff suppressed because it is too large
+ 1 - 0
ilm/iVProg/1.0.20200221/ivprog/js/main.e0ee3563388774042d6b.js.map


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/semantic.min.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/vendors~main.685d1cf2ece1ed4ebb99.js


+ 0 - 0
ilm/iVProg/1.0.20200221/ivprog/js/vendors~main.685d1cf2ece1ed4ebb99.js.map


+ 1 - 1
ilm/iVProg/1.0.20200221/ivprog/runner.html

@@ -52,7 +52,7 @@
   </div>
   
   
-<script src="js/vendors~main.685d1cf2ece1ed4ebb99.js"></script><script src="js/main.5e7761a70f5b53c69b09.js"></script></body>
+<script src="js/vendors~main.685d1cf2ece1ed4ebb99.js"></script><script src="js/main.e0ee3563388774042d6b.js"></script></body>
 <script>
   ( function () {
     ivprogCore.runner();

+ 4 - 3
locallib.php

@@ -1969,7 +1969,7 @@ var exercises = [ '; // '
           } // foreach ($iassign_statement as $iassign)
         }
       $param->iassign_ilmid = 0;
-      $param->filesid = 0;
+      $param->file = 0;
       $param->fileold = 0;
       $param->filename = "";
       $param->grade = $iassign_data->grade;
@@ -2073,7 +2073,8 @@ var exercises = [ '; // '
         $param->iassign_ilmid = $iassign_statement_current->iassign_ilmid; // define iLM ID to be used to define 'select' on 'iassign_form.php'
 
         $param->fileold = 0;
-        $param->filesid = 0; //TODO Criar campo 'iassign_statement.filesid' para registar 'files.id' - abaixo faz '$file->get_id();'
+        $param->filesid = 0;
+        $param->file = 0; //TODO Criar campo 'iassign_statement.filesid' para registar 'files.id' - abaixo faz '$file->get_id();'
         $param->filename = '';
         $param->grade = $iassign_statement_current->grade;
         $param->timecreated = $iassign_statement_current->timecreated; // oculto
@@ -2095,7 +2096,7 @@ var exercises = [ '; // '
           foreach ($files as $file) {
             if ($file->get_filename() != '.') {
               $param->filename = $file->get_filename();
-              $param->filesid = $file->get_id();
+              $param->file = $file->get_id();
               $param->fileold = $file->get_id();
               $COURSE->iassign_file_id = $file->get_id();
               }