Closed Bug 1583340 Opened 5 years ago Closed 5 years ago

Number input buttons in custom repeat dialog don't refresh preview

Categories

(Calendar :: Dialogs, defect)

Lightning 68
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmorris, Assigned: pmorris)

References

Details

(Keywords: regression)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1583098 +++

If you open a calendar event and then open the "repeats > custom" dialog, entering numbers by keyboard into the various number inputs refreshes the MiniMonth previews, but clicking the little +/- buttons doesn't.

onkeyup needs to be oninput as in bug 1583098.

This fixes them. Will need uplift to comm-beta and comm-esr68.

Attachment #9094734 - Flags: review?(geoff)
Attachment #9094734 - Flags: approval-calendar-esr?(geoff)
Attachment #9094734 - Flags: approval-calendar-beta?(geoff)
Status: NEW → ASSIGNED

Just as an aside, here are a few other places I found where we have this pattern of html:input type="number" with onchange. They might or might not need switching to oninput. (The 3rd one has both, but are both needed?)

https://searchfox.org/comm-central/source/mailnews/base/prefs/content/am-offline.xul#68
https://searchfox.org/comm-central/source/mailnews/extensions/newsblog/content/am-newsblog.xul#72
https://searchfox.org/comm-central/source/mailnews/extensions/newsblog/content/feed-subscriptions.xul#151

Comment on attachment 9094734 [details] [diff] [review] number-inputs-in-custom-repeat-dialog-0.patch Huh. I guess that used to work when it was a XUL element.
Attachment #9094734 - Flags: review?(geoff)
Attachment #9094734 - Flags: review+
Attachment #9094734 - Flags: approval-calendar-esr?(geoff)
Attachment #9094734 - Flags: approval-calendar-esr+
Attachment #9094734 - Flags: approval-calendar-beta?(geoff)
Attachment #9094734 - Flags: approval-calendar-beta+
Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/26a5aac20758
Fix number input buttons in custom repeat dialog. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED

Missed TB 68.1.1 but a few hours. Had Geoff set checkin-needed in the morning ...

Target Milestone: --- → 71
Target Milestone: 70 → 7.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: