Closed Bug 609417 Opened 9 years ago Closed 9 years ago
We shouldn't always call Set
Value Changed when clearing the file list
Currently, we are setting BF_VALUE_CHANGED to true each time SetFiles() is called and ClearFiles is calling SetFiles. As a consequence, when resetting the form, BF_VALUE_CHANGED is set to true and when changing the type to or from 'file', BF_VALUE_CHANGED is set to true too which happen while parsing. IOW, <input type='file'> never has it's BF_VALUE_CHANGED sets to false which is annoying for bug 605124. Like we do for SetInternalValue, we should specify if we want SetValueChanged to be called.
Attachment #488049 - Flags: review?(Olli.Pettay) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.