View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
16308Bug reportsSurvey takingpublic2021-03-10 17:18
ReporterStephenO Assigned Togabrieljenik  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.2.2 
Summary16308: Multi Numeric Slider custom Font Awesome icons
Description

The custom and Triangle icons do not work for slider type multi numeric type K questions

Steps To Reproduce

Multinumeric number slider
anything other than circle doesn't work.
using Fruty theme (extended)

Additional Information

Not sure if it has to do with spectrum.css and spectrum.js 404 not found errors.

TagsNo tags attached.
Attached Files
image823.png (393,106 bytes)
Bug heat4
Complete LimeSurvey version number (& build)Version 4.2.2+200504
I will donate to the project if issue is resolvedNo
BrowserBrave
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)
PHP Version7.x

Relationships

related to 16863 closedgabrieljenik Multi Numeric Slider custom Font Awesome icons 

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2020-11-24 13:24

manager   ~60747

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1664

DenisChenu

DenisChenu

2020-11-24 16:23

developer   ~60748

@gabrieljenik we don't have this issue on 3.X or we have it ?

gabrieljenik

gabrieljenik

2020-11-26 20:25

manager   ~60768

Yes, it is appearing there as well.
Created ticket 16863

gabrieljenik

gabrieljenik

2020-12-12 15:07

manager   ~60938

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30794

Related Changesets

LimeSurvey: master f54bdcd9

2020-12-12 15:07:41

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 16308: Multi Numeric Slider custom Font Awesome icons (#1664)

* Fixed issue 16308: Multi Numeric Slider custom Font Awesome icons

There were several problems:
- numeric-slider.js set the CSS for the custom slider handle, but it used a wrong selector.
- numeric-slider.js set the content to the unicode value directly, without using backslash.
- In the case of Fruity, it was setting the slider handle's background color, which works for 'round' and 'square' but not for 'triangle' and 'custom'. Fixed by adding this rule to all variations: .fruity .slider-handle.custom,.fruity .slider-handle.triangle{background-color:transparent}

* Fixed issue 16308: Multi Numeric Slider custom Font Awesome icons

Moving style to CSS
Affected Issues
16308
mod - application/views/survey/questions/answer/multiplenumeric/rows/sliders/answer_row.twig Diff File
mod - assets/packages/questions/numeric-slider/scripts/numeric-slider.js Diff File
mod - themes/survey/bootswatch/css/theme.css Diff File
mod - themes/survey/fruity/css/theme.css Diff File
mod - themes/survey/fruity/css/variations/apple_blossom.css Diff File
mod - themes/survey/fruity/css/variations/bay_of_many.css Diff File
mod - themes/survey/fruity/css/variations/black_pearl.css Diff File
mod - themes/survey/fruity/css/variations/free_magenta.css Diff File
mod - themes/survey/fruity/css/variations/purple_tentacle.css Diff File
mod - themes/survey/fruity/css/variations/sea_green.css Diff File
mod - themes/survey/fruity/css/variations/skyline_blue.css Diff File
mod - themes/survey/fruity/css/variations/sunset_orange.css Diff File
mod - themes/survey/vanilla/css/theme.css Diff File

Issue History

Date Modified Username Field Change
2020-05-19 18:46 StephenO New Issue
2020-05-19 18:46 StephenO File Added: image823.png
2020-11-24 13:24 gabrieljenik Note Added: 60747
2020-11-24 16:23 DenisChenu Note Added: 60748
2020-11-26 20:25 gabrieljenik Issue cloned: 16863
2020-11-26 20:25 gabrieljenik Relationship added related to 16863
2020-11-26 20:25 gabrieljenik Note Added: 60768
2020-12-12 15:07 gabrieljenik Changeset attached => LimeSurvey master f54bdcd9
2020-12-12 15:07 gabrieljenik Note Added: 60938
2020-12-12 15:07 gabrieljenik Assigned To => gabrieljenik
2020-12-12 15:07 gabrieljenik Resolution open => fixed
2021-03-10 17:18 ollehar Status new => closed