NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
16 Apr 2020

Pull Request for Issue #25186

Summary of Changes

This removes the custom polyfills for the closest() and matches() methods and replaces with the the native JS methods

Testing Instructions

  1. Ensure you can unpublish a module in the admin dashboard and it's removed
  2. Ensure subform fields work as expected
  3. Ensure the sidebar menu works the same as before

Or:

Code review

avatar C-Lodder C-Lodder - open - 16 Apr 2020
avatar C-Lodder C-Lodder - change - 16 Apr 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Apr 2020
Category JavaScript Repository NPM Change
62c4775 16 Apr 2020 avatar C-Lodder woof
avatar C-Lodder C-Lodder - change - 16 Apr 2020
Labels Added: NPM Resource Changed ?
5559367 16 Apr 2020 avatar C-Lodder woof
44ead7f 16 Apr 2020 avatar C-Lodder woof
avatar wilsonge wilsonge - change - 16 Apr 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-04-16 11:59:25
Closed_By wilsonge
avatar wilsonge wilsonge - close - 16 Apr 2020
avatar wilsonge wilsonge - merge - 16 Apr 2020
avatar wilsonge
wilsonge - comment - 16 Apr 2020

Thanks!

avatar C-Lodder
C-Lodder - comment - 17 Apr 2020

@wilsonge Just an FYI, closest() isn't supported in IE11, so if you still expect frontend JS to work in IE11, then you may want to revert this.

avatar Quy
Quy - comment - 21 Apr 2020

To reproduce, go to Global Configuration > Users > Email Domain Options, click + icon.

TypeError: row is null

/media/system/js/fields/joomla-field-subform.js:107

row = row.closest('joomla-field-subform') === that ? row : null;

avatar wilsonge
wilsonge - comment - 21 Apr 2020

@Quy what browser is that in? I'm not too fussed about dropping IE11 support I don't think at this point.

avatar Quy
Quy - comment - 21 Apr 2020

Firefox 75.0 Windows 10

avatar C-Lodder
C-Lodder - comment - 22 Apr 2020

@Quy I'll look into this now anf fix. Thanks for reporting.

@wilsonge Can you please make a dedicated decision about IE11

avatar C-Lodder
C-Lodder - comment - 22 Apr 2020
avatar wilsonge
wilsonge - comment - 22 Apr 2020

Started going through the full requirements list two weeks ago to get formal approval from production. Right now my intention is no ie11 support. But that’s still to be fully confirmed based on their vote

Add a Comment

Login with GitHub to post a comment