Check out the LimeSurvey source code on GitHub!

Clear all button not working

More
2 years 10 months ago #106896 by Ronnos
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
2 years 10 months ago #106898 by DenisChenu
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).

Please Log in to join the conversation.

More
2 years 10 months ago #106899 by Ronnos
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
2 years 10 months ago - 2 years 10 months ago #106900 by DenisChenu
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).
Last Edit: 2 years 10 months ago by DenisChenu.

Please Log in to join the conversation.

More
2 years 10 months ago #107567 by Ronnos
Thanks for your answer Denis, I've made a bug report on github!

Ron

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form