View Issue Details

IDProjectCategoryView StatusLast Update
5108Composr alpha bug reportsGeneral / Uncategorisedpublic2022-12-07 00:41
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary5108: JavaScript: Triggering submit on forms seems to do nothing
DescriptionRunning $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
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2022-12-03 01:50

administrator   ~7771

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();

Issue History

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