Welcome, Guest
Username: Password: Remember me

TOPIC: Clear all button not working

Clear all button not working 6 months 3 days ago #106896

  • Ronnos
  • Ronnos's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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!
The administrator has disabled public write access.

Clear all button not working 6 months 3 days ago #106898

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
If you comment the setupConfirmDialog internal function ?
The administrator has disabled public write access.

Clear all button not working 6 months 3 days ago #106899

  • Ronnos
  • Ronnos's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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.
The administrator has disabled public write access.

Clear all button not working 6 months 3 days ago #106900

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
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
Last Edit: 6 months 3 days ago by DenisChenu.
The administrator has disabled public write access.

Clear all button not working 5 months 2 weeks ago #107567

  • Ronnos
  • Ronnos's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thanks for your answer Denis, I've made a bug report on github!

Ron
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.151 seconds
Donation Image