Clear all button not working

More
3 years 5 months ago #106896 by Ronnos
Ronnos created the topic: Clear all button not working
Hi All, my first post in this Forum.
I'm trying for days now but really can't find the answer... I'm building my own template with help of BootstrapForLimeSurvey, but can't get the CLEARALL button to work.
In template.js there is a function called setupConfirmDialog in which the browsers popup is replaced by a bootstrap modal. To add the right link to this modal the function get's the value of a.clearall href and adds this to the modal with onclick="window.location".
onclick="window.location=\''+ bfls('a.clearall').attr('href')+'\';"
However, in my templates it says that it is undefined, and can't find anywere a.clearall in other templates.

Does someone had a suggestion?

Thanks!

Please Log in to join the conversation.

More
3 years 5 months ago #106898 by DenisChenu
DenisChenu replied the topic: Clear all button not working
If you comment the setupConfirmDialog internal function ?

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

Please Log in to join the conversation.

More
3 years 5 months ago #106899 by Ronnos
Ronnos replied the topic: Clear all button not working
Thanks for your fast reply,
I can't find that function too, but the popup window appears, the only thing is that the link from the OK button is broke.

Please Log in to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #106900 by DenisChenu
DenisChenu replied the topic: Clear all button not working
Just remove the function in template.js.

If it's work : make a bug report on BootstrapForLimeSurvey github : github.com/mofog/BootstrapForLimeSurvey/issues , because we can not support (and don't have to support) any other template or plugins.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 years 5 months ago by DenisChenu.

Please Log in to join the conversation.

More
3 years 5 months ago #107567 by Ronnos
Ronnos replied the topic: Clear all button not working
Thanks for your answer Denis, I've made a bug report on github!

Ron

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now