Osclass Support Forums

Osclass plugin support => Poll & Feedback Plugin => Topic started by: atba on September 24, 2020, 10:57:58 AM

Title: Chekbox
Post by: atba on September 24, 2020, 10:57:58 AM
Hello...  There is a problem. This plugin conflicts with the Gamma theme. In particular, when a survey is created and the CHECKBOX voting method is selected, the SUMBIT button is not active even if one or more checkbox items are clicked. In other words, it is not possible to vote. This applies only to CHECKBOX ( with radio - everything is fine) and only in the Gamma theme. Other themes, such as Veronika, don't have this problem.
Title: Re: Chekbox
Post by: MB Themes on September 24, 2020, 01:13:34 PM
@atba
Please send url where problem can be seen.
Title: Re: Chekbox
Post by: atba on September 24, 2020, 01:29:46 PM
...
Title: Re: Chekbox
Post by: MB Themes on September 24, 2020, 01:31:49 PM
@atba
It is strange, is it possible to PM ftp login?
Title: Re: Chekbox
Post by: atba on September 24, 2020, 02:04:50 PM
It's unlikely to work. But I will say that I tried it on pure Gamma - the same thing. There is no problem on other topics
Title: Re: Chekbox
Post by: MB Themes on September 24, 2020, 02:56:53 PM
@atba
In gamma global.js find line:
Code: [Select]
  $(document).on('click', 'input[type="checkbox"]:not([id^="bpr-cat-"]) + label', function(e){
replace it with:
Code: [Select]
  $(document).on('click', 'input[type="checkbox"]:not([id^="bpr-cat-"]):not([name^="pol-val"]) + label', function(e){
let me know if that works
Title: Re: Chekbox
Post by: atba on September 24, 2020, 03:51:16 PM
Now everything is great! Excellent work