Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Clear all button not working

Clear all button not working 4 Monate 3 Wochen her #106896

  • Ronnos
  • Ronnoss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Clear all button not working 4 Monate 3 Wochen her #106898

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6256
  • Dank erhalten: 799
  • Karma: 239
If you comment the setupConfirmDialog internal function ?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Clear all button not working 4 Monate 3 Wochen her #106899

  • Ronnos
  • Ronnoss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Clear all button not working 4 Monate 3 Wochen her #106900

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6256
  • Dank erhalten: 799
  • Karma: 239
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
Letzte Änderung: 4 Monate 3 Wochen her von DenisChenu.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Clear all button not working 4 Monate 1 Woche her #107567

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

Ron
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.180 Sekunden
Donation Image