Relationship Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04422 | Bug reports | Survey taking | public | 2010-06-15 14:58 | 2010-10-07 22:17 |
Reporter | jdalegonzalez | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.90RC2 | ||||
Summary | 04422: navigator code fails to call any onsubmit function when previous is pressed | ||||
Description | The onclick code attached to the "previous" button for the survey form directly calls document.limesurvey.submit, which bypasses any onsubmit handler that's been attached to the form. This isn't a big deal because the default form doesn't have an onsubmit handler, but if one is added via a modification or code added using template.js, it won't get called. In my copy, I changed line 2603 in index.php adding "if (!document.limesurvey.onsubmit || document.limesurvey.onsubmit())" before the call to document.limesurvey.submit(). | ||||
Steps To Reproduce | 1) change template.js to attach an onsubmit handler to the limesurvey form. | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 8488 | ||||
I will donate to the project if issue is resolved | |||||
Browser | all | ||||
Database type & version | all | ||||
Server OS (if known) | all | ||||
Webserver software & version (if known) | all | ||||
PHP Version | all | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-06-15 14:58 | jdalegonzalez | New Issue | |
2010-06-15 14:58 | jdalegonzalez | Status | new => assigned |
2010-06-15 14:58 | jdalegonzalez | Assigned To | => user372 |
2010-06-17 00:55 | c_schmitz | Assigned To | user372 => c_schmitz |
2010-07-01 16:16 | c_schmitz | Status | assigned => resolved |
2010-07-01 16:16 | c_schmitz | Fixed in Version | => 1.90RC2 |
2010-07-01 16:16 | c_schmitz | Resolution | open => won't fix |
2010-07-06 11:22 | c_schmitz | Status | resolved => closed |
2010-10-07 22:17 | c_schmitz | Note Added: 13037 | |
2010-10-07 22:17 | c_schmitz | Relationship added | related to 04645 |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |