Issue Details (XML | Word | Printable)

Key: MDL-13280
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Dan Marsden
Reporter: safdar javed
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Javascript error of form validation on scorm add/edit page.

Created: 01/Feb/08 10:16 PM   Updated: 11/Nov/08 10:31 AM
Return to search
Component/s: SCORM
Affects Version/s: 1.7
Fix Version/s: 1.8.7, 1.9.3

Environment: This bug has no issue with OS or browser.
Issue Links:
Duplicate
 

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


 Description  « Hide
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]

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No commits have yet been performed on this issue.