Autocheck problems
"Not a code question" is autochecked but then when submitting it's not checked and has to be input manually
Comments (4)
-
repo owner -
reporter What's causing it? I can look into it
-
repo owner In file side-panel.js, in the section of the bad-but-useful hacks (the ones that set the default values for the reports panel), there are a few lines that check the option "No code related" when an interaction type different than Course or Bug report is selected. The problem is that i'm checking the checkbox by toggling the "checked" property from javascript, but the variable that holds which checkboxes are being checked doesn't recognize that and is not updated (so it remains empty), what needs to be done is use click() function in that checkbox to update its js variable too (because the checkboxes have a click handler that updates that variable)
-
reporter - changed status to resolved
- Log in to comment
Oh i know why this happens, gonna fix it before i leave