Closed afusa21 closed 5 years ago
Why would you disable the popup? That is the only way for the program to get input from the user? We have no control over the behavior of the dialog box anyway.
Perhaps there is some misunderstanding. That program runs by repeatedly requesting input from the user, which it gets from the popup window. If you want the popups to go away, you have to enter the command Quit in the dialog box.
I think this should be clear to students if they've been going through the content in sequence, building up from the simpler versions of the Tamagotchi game presented previously.
I came across this issue, looking for one to fix, I believe this ticket can be closed.
Describe the bug In the ActiveCode box, hitting "Run" without adding code to the program causes a popup to appear that won't exit when "Cancel" is clicked. In Firefox, ticking the "Prevent this page from creating additional dialogs” box and clicking "OK" will make the dialogue box disappear, but then the "Run" button becomes greyed out and a “a web page is slowing down your browser” warning appears. In Chrome, there is no such box to tick and it is impossible to exit the dialogue box.
To Reproduce Steps to reproduce the behavior:
Expected behavior When the dialogue box appears, clicking "Cancel" cases the box to disappear.
Screenshots
Desktop (please complete the following information): -Windows 10, version 1803 -Firefox 62 -Chrome 69