|
|
|
Environment:
|
This bug has no issue with OS or browser.
|
|
Issue Links:
|
|
|
| Database: |
MySQL
|
| Participants: |
Dan Marsden and safdar javed
|
| Security Level: |
None
|
| Resolved date: |
28/Jul/08
|
| Affected Branches: |
MOODLE_17_STABLE
|
| Fixed Branches: |
MOODLE_18_STABLE, MOODLE_19_STABLE
|
|
When we add a scorm there is a javascript error on that page. this error is on Packege File element of page. Because element name is reference[value] while when validation function called to validate it it calls it with the name form.elements['reference']. Due to this javascript error comes when we submit the form.
DETAIL:
function validate_mod_scorm_mod_form(frm)
in this function there is call to function validate_mod_scorm_mod_form_reference(frm.elements['reference'])
in this call frm.elements['reference'] is passes as argument while the element name is reference[value]
|
|
Description
|
When we add a scorm there is a javascript error on that page. this error is on Packege File element of page. Because element name is reference[value] while when validation function called to validate it it calls it with the name form.elements['reference']. Due to this javascript error comes when we submit the form.
DETAIL:
function validate_mod_scorm_mod_form(frm)
in this function there is call to function validate_mod_scorm_mod_form_reference(frm.elements['reference'])
in this call frm.elements['reference'] is passes as argument while the element name is reference[value] |
Show » |
| No commits have yet been performed on this issue.
|
|