-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.4, 4.4
Steps to repoduce:
- In a place with a lot of questions, go to the question bank.
- As soon as the page has finished loading, click the 'Create a new question ...' button.
Expected result: a dialogue opens to let you chose the question type to create.
Actual result, you end up on the script question/addquestion.php with the error You must select a question type.
Even though this is most easy to reproduce with a large question bank, where the delay can be 10+ seconds I can reproduce it at https://qa.moodledemo.net/question/edit.php?courseid=2 if I click fast enough.
This change is a quick fix, to make the button disabled until it is ready to be clicked, which is quite a big usability win. I have created MDL-81994 to do a bigger investigation about why it is slow, but that will take longer.
- Testing discovered
-
MDL-81994 Question bank: Why is the 'Create a new question ...' button so slow to initialise?
-
- Open
-