User tests: Successful: Unsuccessful:
When the media manager is in list view it uses css data-type to generate an appropriate icon.
However the current code only matches lowercase file extensions. This PR make it case insensitive.
To test upload an image with an uppercase filetype eg _DSC1234.JPG and go to the lust view and you will see there is no icon.
Apply this pr and run npm ci and refresh and now you have an icon
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_media NPM Change |
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-07 08:23:44 |
| Closed_By | ⇒ | infograf768 | |
| Labels |
Added:
?
|
||
tks
thanks
I have tested this item✅ successfully on 5ec483d
See https://www.w3.org/TR/selectors-4/#attribute-case for explanation of the use of
iThis comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31606.