View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5108 | Composr alpha bug reports | General / Uncategorised | public | 2022-12-01 16:34 | 2022-12-07 00:41 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 5108: JavaScript: Triggering submit on forms seems to do nothing | ||||
Description | Running $dom.trigger(form, 'submit') seems to do nothing. This affects the following: * Actions dropdown in admin_shopping Orders screen * Topic/poll actions dropdown (topic) * Marked posts dropdown (topic) It is possible this might also explain, or is even caused by, the fact other forms require clicking the submit button twice before the form submit actually happens: * Giving points "Go" button * Quizzes submission button | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Sponsorship open | |||||
|
It seems inconsistent whether this does a form submit, which was at the heart of why I had to do such a big reworking of the forms system - as I couldn't rely on it doing submission, or NOT doing submission. For some combination of inconsistency across browsers and change/disagreement of whether this represents some kind of security risk (opaque artificial submission of forms rather than using a direct documented mechanism). Maybe we will just have to no longer have this, and rely on form.submit(); |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-01 16:34 | PDStig | New Issue | |
2022-12-01 16:34 | PDStig | Status | Not Assigned => Assigned |
2022-12-01 16:34 | PDStig | Assigned To | => Chris Graham |
2022-12-03 01:50 | Chris Graham | Note Added: 0007771 | |
2022-12-07 00:41 | Chris Graham | Status | Assigned => Resolved |
2022-12-07 00:41 | Chris Graham | Resolution | open => fixed |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |