No Code Attached Yet
avatar joeforjoomla
joeforjoomla
21 Apr 2022

Steps to reproduce the issue

Install a 4.2 package.

Go to a list view that includes more than 2 records and uses multiselect.js, for example the update extensions installer:
http://root/administrator/index.php?option=com_installer&view=update

Select one of the checkbox.

Expected result

Only that checkbox is checked

Actual result

The same checkbox and the next one is checked. 2 checkbox are checked at once.

System information (as much as possible)

The error is due to this change in the file multiselect.js, line 16.

Joomla 4.1 OK:
this.boxes = [].slice.call(this.tableEl.querySelectorAll('input[type=checkbox]'));

Joomla 4.2 ERROR:
this.boxes = [].slice.call(this.tableEl.querySelectorAll('td input[type=checkbox]'));

image

avatar joeforjoomla joeforjoomla - open - 21 Apr 2022
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Apr 2022
avatar brianteeman
brianteeman - comment - 21 Apr 2022

I'm sure this was fixed some time ago

avatar joeforjoomla
joeforjoomla - comment - 2 May 2022

@brianteeman at the moment the issue is still present in the 4.2 Alpha 3 dev. Not sure where is has been fixed and still not merged.

avatar Fedik
Fedik - comment - 2 May 2022

It only for com_installer "update" view , please test #37725

avatar Fedik Fedik - close - 2 May 2022
avatar Fedik Fedik - change - 2 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-02 16:58:59
Closed_By Fedik
avatar joeforjoomla
joeforjoomla - comment - 20 May 2022

@Fedik #37725 this does not work! The multi select feature is lost!

Add a Comment

Login with GitHub to post a comment