? Error

User tests: Successful: Unsuccessful:

avatar itbra
itbra
29 Jul 2014

Currently the chosen.jquery plugin doesn't properly handle the adding/removing of the class 'result-selected' and attribute 'selected="selected"' when list elements are changed (single-select-list) or added/removed (multi-select-list). Its current implementation leaves the class 'result-selected' attached to any previously selected list element thus making to handle the specific selected item by an onchange-handler impossible when trying to catch the selected element via its 'result-selected' class.

The fix solves this issue and properly adds/removes the mentioned class and attribute to every involved element and allows to post-process exactly only the currently selected element(s) by an onchange-handler.

avatar itbra itbra - open - 29 Jul 2014
avatar itbra itbra - change - 29 Jul 2014
Labels Added: ? ?
avatar itbra itbra - change - 29 Jul 2014
Title
Fix add/remove selected attribute and class
#34013 Fix add/remove selected attribute and class
avatar itbra
itbra - comment - 29 Jul 2014

Associated bug tracker item

avatar itbra itbra - change - 29 Jul 2014
Title
#34013 Fix add/remove selected attribute and class
[#34013] Fix add/remove selected attribute and class
avatar brianteeman brianteeman - change - 29 Jul 2014
Title
Fix add/remove selected attribute and class
[#34013] Fix add/remove selected attribute and class
Labels Added: ?
Removed: ?
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 2 Sep 2014
Category External Library JavaScript
avatar jissues-bot jissues-bot - change - 17 Oct 2014
Title
[#34013] Fix add/remove selected attribute and class
Fix add/remove selected attribute and class
avatar brianteeman brianteeman - change - 17 Oct 2014
Title
[#34013] Fix add/remove selected attribute and class
Fix add/remove selected attribute and class
avatar ysavran
ysavran - comment - 21 Aug 2015

I tested this fix by adding/removing elements of a list in "debug" plugin options. After fix, chosen.jquery plugin still behaves the same way. It successfully handles for the first removal of a list object. But if you try adding and removing new ones, result-selected class is not handled correctly.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4032.

avatar ysavran ysavran - test_item - 21 Aug 2015 - Tested unsuccessfully
avatar Blutengel89 Blutengel89 - test_item - 21 Aug 2015 - Tested unsuccessfully
avatar Blutengel89
Blutengel89 - comment - 21 Aug 2015

I have tested the patch, but adding/removing of new ones arenĀ“t handled correctly.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4032.

avatar roland-d roland-d - change - 21 Aug 2015
Status Pending Information Required
avatar roland-d
roland-d - comment - 21 Aug 2015

@itbra Can you please have a look at the unsuccessful test results? In addition fix the merge conflicts? Thanks.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4032.

avatar roland-d
roland-d - comment - 8 Nov 2015

Hello @spignataro

Thank you for your contribution.

The last comment here was on August 21st. So the question is, Is this issue/pull request still valid?
If no reply is received within 4 weeks we will close this issue.

Thanks for understanding!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4032.

avatar spignataro
spignataro - comment - 8 Nov 2015

@roland-d - I think you might need some sleep. @itbra submitted the ticket - not me.

avatar roland-d
roland-d - comment - 8 Nov 2015

@spignataro or a beer :) I must have been reading another ticket of yours. Indeed it's @itbra :)

avatar spignataro
spignataro - comment - 8 Nov 2015

Have two one me!!!

Now back to ticket work. ;-)

avatar brianteeman brianteeman - change - 19 Dec 2015
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2015-12-19 13:00:31
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 19 Dec 2015

I am closing this at this time as there have been no responses to the failed tests. It can always be reopened when resolved


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4032.

avatar brianteeman brianteeman - change - 19 Dec 2015
Title
Fix add/remove selected attribute and class
[#34013] Fix add/remove selected attribute and class
avatar brianteeman brianteeman - close - 19 Dec 2015
avatar brianteeman brianteeman - close - 19 Dec 2015
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2015
Title
Fix add/remove selected attribute and class
[#34013] Fix add/remove selected attribute and class

Add a Comment

Login with GitHub to post a comment