I am assuming that this should be button not button ?
https://github.com/joomla/joomla-cms/blob/staging/media/system/js/fields/calendar.js#L1107
Labels |
Added:
?
|
what a terrible attempt by me at a bug report when it refers to a typo and i had autocorrect on ;)
The typo is that
buttton = element
has three letter t
Actually those two lines (input and button) might not be used at all from that part of the code so we can drop them
Category | ⇒ | com_fields |
Priority | Medium | ⇒ | Low |
Status | New | ⇒ | Confirmed |
Title |
|
Title |
|
Title |
|
Closed as resolved elsewhere
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-14 14:29:45 |
Closed_By | ⇒ | brianteeman |
It is singular button as
element.getElementsByTagName('button')
is an array BUT the last part[0]
forces to the first element of the array