View Issue Details

IDProjectCategoryView StatusLast Update
0006456Flow themeThemepublic2024-03-20 11:59
Reporters.diez Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2.3.2 
Summary0006456: categoryBox Toggle only works once
DescriptionThis toggle only works once as the toggle button gets something like "fs-caret-down fs-caret-down fs-caret-down fs-caret-down fa-caret-up fa toggleTree" as its classes. Usage of jQuery.addClass() instead of "$this.attr( 'class', 'fa-caret-up ' + $this.attr( 'class' ) );" should probably fix this.
Steps To ReproduceTo reproduce enable the categorytree (widget/sidebar/categorytree.tpl) by enabling the sidebar in page/details/list.tpl.
Now the categorytree is display in category lists. In small browser widths it is toggleable. Use the toggle multiple times.
TagsNo tags attached.

Activities

s.diez

2016-07-20 16:16

reporter   ~0011708

On closer examination it is a simple typo. In /application/views/flow/build/js/main.js line 219 and 220"fs-.." is used instead of "fa-...". I would still recommend using addClass as it is much clearer.