?
avatar Quy
Quy
2 Apr 2017

Steps to reproduce the issue

Go to Components > Smart Search.
Click Index button.
Click Search Filters link.
Click New button.
Click on an accordion.
Click Toggle Selection button.
Checkbox(es) within not toggled.
Also class attribute declared twice (see highlighted).

smartsearch

avatar Quy Quy - open - 2 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

Can you give more Information about iE. Joomla-Version?

avatar Quy
Quy - comment - 3 Apr 2017

Latest staging version.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

@Quy after click on "New"-Button:
bildschirmfoto 2017-04-03 um 15 37 32
where to "Click on an accordion"

avatar Quy Quy - edited - 3 Apr 2017
avatar Quy
Quy - comment - 3 Apr 2017

Sorry. Updated testing instructions.

avatar infograf768
infograf768 - comment - 3 Apr 2017

JS error:
"SyntaxError: unterminated string literal"

avatar infograf768
infograf768 - comment - 3 Apr 2017

@dgt41
Dimitri, you did that code a loong time ago.
<button class="btn btn-default" type="button" class="jform-rightbtn" onclick="jQuery('.filter-node').each(function () { this.click(); });">

Can you look?

avatar dgt41
dgt41 - comment - 3 Apr 2017

Try jQuery('.filter-node').each(function (i, el) { el.click(); });

avatar Quy
Quy - comment - 3 Apr 2017

The mentioned button works. The issue is with this button:
<button class="btn" type="button" class="jform-rightbtn" onclick="jQuery('[id="tax-4"]').each(function(){this.click();});">

avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 3 Apr 2017
avatar dgt41
dgt41 - comment - 3 Apr 2017

This code will never work due to double quotes mess:
onclick="jQuery('[id="tax-4"]').each(function(){this.click();});"

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Category com_search Search
avatar infograf768
infograf768 - comment - 4 Apr 2017

Yep, in fact, looks like it comes from
ROOT/components/com_finder/helpers/html/filter.php

avatar infograf768
infograf768 - comment - 4 Apr 2017

I guess I found the issue. Will make PR.

avatar infograf768
infograf768 - comment - 4 Apr 2017

Please test
#15092

avatar joomla-cms-bot joomla-cms-bot - change - 4 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 4 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 4 Apr 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-04-04 15:07:12
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 4 Apr 2017
avatar infograf768 infograf768 - change - 4 Apr 2017
The description was changed
Closed_Date 2017-04-04 15:07:12 2017-04-04 15:07:21
Closed_By joomla-cms-bot infograf768
avatar joomla-cms-bot
joomla-cms-bot - comment - 4 Apr 2017
avatar infograf768
infograf768 - comment - 4 Apr 2017

Closed as we have a patch


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

Add a Comment

Login with GitHub to post a comment