Closed
Bug 915324
Opened 12 years ago
Closed 8 years ago
marionette-plugin-forms: fire change event for select elements
Categories
(Testing Graveyard :: JSMarionette, defect)
Testing Graveyard
JSMarionette
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jrburke, Unassigned)
Details
Just setting .value on a <select> node does not fire a change event, which can be used by app code to get a notification of the select value. In an email test, after setting .value, we did this to fix it:
var event = document.createEvent('Event');
event.initEvent('change', true, true);
selectNode.dispatchEvent(event);
Comment 1•8 years ago
|
||
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•