You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
// check so that only the first toggle select question on the assignments page has a preview panel created, then all toggle select previews use this same panel
// on changing the value of toggle select dropdown, render selected question in preview panel, add appropriate buttons, then make preview panel visible
// if "transfer" in toggle options, and if current question type is Parsons and selected question type is active code, then add "Transfer" button to preview panel
// on clicking "Select this Problem" button, close preview panel, replace current question in assignments page with selected question, and send request to update grading database
// on clicking "Transfer" button, extract the current text and indentation of the Parsons blocks in the answer space, then paste that into the selected active code question
if(parsonsLine[l].childNodes[0].nodeName=="#text"){// parsons blocks have differing amounts of hierarchy levels (spans within spans)
379
+
if(parsonsLine[l].childNodes[0].nodeName=="#text"){// Parsons blocks have differing amounts of hierarchy levels (spans within spans)
369
380
if((p==0)&&(count==0)){// need different check than l == 0 because the l numbering doesn't align with location within line due to inconsistent span heirarchy
0 commit comments