Clear all button not working

Mehr
2 Jahre 11 Monate her #106896 von 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!

Bitte Anmelden um der Konversation beizutretten.

Mehr
2 Jahre 11 Monate her #106898 von 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).

Bitte Anmelden um der Konversation beizutretten.

Mehr
2 Jahre 11 Monate her #106899 von 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.

Bitte Anmelden um der Konversation beizutretten.

Mehr
2 Jahre 11 Monate her - 2 Jahre 11 Monate her #106900 von 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).
Letzte Änderung: 2 Jahre 11 Monate her von DenisChenu.

Bitte Anmelden um der Konversation beizutretten.

Mehr
2 Jahre 11 Monate her #107567 von Ronnos
Thanks for your answer Denis, I've made a bug report on github!

Ron

Bitte Anmelden um der Konversation beizutretten.