[de-xbl] Replace address book datepicker widget with non-XBL elements
Categories
(Thunderbird :: Address Book, task)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(2 files, 2 obsolete files)
89.18 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
51.38 KB,
patch
|
frg
:
review+
|
Details | Diff | Splinter Review |
Like bug 1524456, but for the date picker in the address book, which doesn't need to be a date picker at all. I'm replacing it with two menulists.
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
<menulist id="BirthMonth">
any reason not just to simply use <html:select> for this?
Yes. It's a XUL dialog, nothing else in it uses an HTML control, and they look awful. Plus the stylesheet doesn't want to work properly on HTML namespace stuff, I tried adding the namespace to the stylesheet, all sorts of things looked wrong afterwards.
and <html:input type="number">
Doesn't offer us anything other than some spinbuttons. You can still enter garbage in there. At this point I'm just wasting time trying to get it to look right.
please keep the placeholder. Actually, the other menus also would benfit
from a description for the empty value.
Okay.
I think it would nicer to pass in birthMonth and birthDate to
setDisabledMonthDays so we don't need to know the ids two times
And instead have to fudge the addEventListener calls? This is much tidier IMO.
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
This can't be landed yet because it needs bug 1524456 to land first.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/395833021007
Remove datepicker widget from address book; r=mkmelin
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
I am having no problem with removing common bindings but this the second time now that it broke SeaMonkey compile without warning. I or IanN would really like to have an advance information.
I know SeaMonkey is broken but we still keep it compiling for a possible later fixup.
Thanks
FRG
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/395833021007
Remove datepicker widget from address book; r=mkmelin
I came here since I noticed that the date picker in the address book doesn't work in TB 66 beta, the month is stuck at January. Now, the patch rips out datetimepicker.xml altogether, which won't make certain add-ons very happy.
Comment 12•6 years ago
|
||
Sigh, I've already reported that as bug 1492560.
Comment 13•6 years ago
|
||
There's really very little reason for someone to use it. <input type="date"> gives you all you need. Well, if it would. Bug 1527615.
Updated•5 years ago
|
Description
•