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
In Problem Editor, the is two checkboxes for "Open in new window", in the View and Save tabs, and both are given the ID "newWindow". This creates a problem because in the JavaScript, when it asks to see if the checkbox is checked in the Save tab, it is always looking at the checkbox in the View tab instead. So, in the Save tab, the checkbox is not behaving correctly. Here's the related code in pgproblemeditor.js.
In the precedent versions of WeBWorK, there was only on checkbox for "Open in new window", that why it didn't have this problem. I think the solution is to give both checkbox different ID, like newViewWindow and newSaveWindow. Here's what I would do
In Problem Editor, the is two checkboxes for "Open in new window", in the View and Save tabs, and both are given the ID "newWindow". This creates a problem because in the JavaScript, when it asks to see if the checkbox is checked in the Save tab, it is always looking at the checkbox in the View tab instead. So, in the Save tab, the checkbox is not behaving correctly. Here's the related code in pgproblemeditor.js.
In the precedent versions of WeBWorK, there was only on checkbox for "Open in new window", that why it didn't have this problem. I think the solution is to give both checkbox different ID, like newViewWindow and newSaveWindow. Here's what I would do
The text was updated successfully, but these errors were encountered: