View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10004Bug reportsOtherpublic2015-11-10 12:28
Reportereloner Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary10004: Selecting HIDE TIPS (YES) in A MULTIPLE CHOICE question does not hide the tips
Description

I am using Version 2.06+ Build 151018.
I created a multiple choice question.
I chosed to limit the number of possible answers to two (maximum answers = 2 in advanced settings).
I flagged HIDE TIPS to yes in advanced settings, but the tips are always showed.

Steps To Reproduce

Create a multiple choice question.
Limit the number of answers to 2 (advanced settings).
Chose to Hide tips (advanced settings).
Preview the question.
(see the attached file)

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Version 2.06+ Build 151018
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox
Database type & versionMySql
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.X

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-10-30 13:11

developer   ~33467

Can you upload a lss file please ?

Did you test with default template ? Because hide tip use CSS now.

fvanderstarre

fvanderstarre

2015-11-01 14:55

reporter   ~33473

Other question types are also affected (e.g. numeric data). Also with default template.

fvanderstarre

fvanderstarre

2015-11-02 08:06

reporter   ~33476

Please raise severity level, or supply a workaround... Thx!

fvanderstarre

fvanderstarre

2015-11-02 12:11

reporter   ~33478

A workaround may be to put:
div.emtip { display: none; }
at the bottom of template.css .
But then question tips will never be shown and you'll have to update all your templates.....

DenisChenu

DenisChenu

2015-11-02 16:46

developer   ~33481

You're right .... we have hide-tip class in HTML but not in template.css of default actually.

You can use:
div.hide-tip { display: none; }

DenisChenu

DenisChenu

2015-11-02 16:48

developer   ~33482

template.css use span.hide-tip ....

DenisChenu

DenisChenu

2015-11-02 17:09

developer   ~33483

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

DenisChenu

DenisChenu

2015-11-02 17:11

developer   ~33484

And for remind:

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

https://github.com/LimeSurvey/LimeSurvey/blob/master/docs/license.txt

fvanderstarre

fvanderstarre

2015-11-03 08:39

reporter   ~33495

So now everybody has to change their templates (if they want to use hide-tip = Yes)? Hmmm....

DenisChenu

DenisChenu

2015-11-03 08:55

developer   ~33496

Before : a div inside a span : break HTML.

Related Changesets

LimeSurvey: master 1b5ac8f9

2015-11-02 16:09:13

DenisChenu

Details Diff
Fixed issue 10004: Using hide_tip advanced settings does not hide the tips
Dev: remove the span. and div.
Dev: removed the diplay block to div : it's default
Dev: see http://codeguide.co/#css-selectors
Affected Issues
10004
mod - templates/basic/template.css Diff File
mod - templates/bluengrey/template.css Diff File
mod - templates/clear_logo/template.css Diff File
mod - templates/default/template.css Diff File
mod - templates/eirenicon/template.css Diff File
mod - templates/limespired/template.css Diff File
mod - templates/mint_idea/template.css Diff File
mod - templates/sherpa/template.css Diff File
mod - templates/vallendar/template.css Diff File

Issue History

Date Modified Username Field Change
2015-10-29 10:30 eloner New Issue
2015-10-29 10:30 eloner File Added: limesurvey_question_428.lsq
2015-10-30 13:11 DenisChenu Note Added: 33467
2015-11-01 14:55 fvanderstarre Note Added: 33473
2015-11-02 08:06 fvanderstarre Note Added: 33476
2015-11-02 08:06 eloner File Added: limesurvey_survey_298213.lss
2015-11-02 12:11 fvanderstarre Note Added: 33478
2015-11-02 16:46 DenisChenu Note Added: 33481
2015-11-02 16:48 DenisChenu Note Added: 33482
2015-11-02 16:48 DenisChenu Assigned To => DenisChenu
2015-11-02 16:48 DenisChenu Status new => confirmed
2015-11-02 17:09 DenisChenu Changeset attached => LimeSurvey master 1b5ac8f9
2015-11-02 17:09 DenisChenu Note Added: 33483
2015-11-02 17:09 DenisChenu Resolution open => fixed
2015-11-02 17:11 DenisChenu Note Added: 33484
2015-11-02 17:11 DenisChenu Status confirmed => resolved
2015-11-02 17:11 DenisChenu Fixed in Version => 2.06+
2015-11-03 08:39 fvanderstarre Note Added: 33495
2015-11-03 08:55 DenisChenu Note Added: 33496
2015-11-10 12:28 c_schmitz Status resolved => closed