Issue: Dual array and hideEmptyColumn

More
2 weeks 2 days ago #195775 by Joffm
Hi,
I encountered an issue with the dual scale array and "hideEmptyColumn" activated.
Here the "normal" look:


And here with "hideEmptyColumn" activated:




I downloadad the latest release of the plugin from gitlab

LS Version 3.22.9. and each of the shipped themes.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 weeks 1 day ago #195795 by DenisChenu
I think i only test hideEmptyColumn with array dual scale without the header ...

And here : there are scale header ....

Can you check without the scale header ?

Can you report the issue on gitlab ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #195796 by Joffm
Hi, Denis,

without scale headers: everything is fine.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #195797 by DenisChenu
Some restriction to do here : gitlab.com/SondagesPro/QuestionSettingsT...deemptycolumn.js#L14

Can you check with
$(this).find("thead th:last-child").each(function(){

If it's OK : make a pull request

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #195993 by Joffm
Hi, Denis,

sorry for delay.

I tested and seems to be alright with

$(this).find("thead th:last-child").each(function(){

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #195998 by DenisChenu
Oups ...

Must be
$(this).find("thead tr:last-child th").each(function(){

Can you check too ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!