toebes / ciphers

Cipher Generators
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Saving Bug with "Suggest Question" #474

Closed Pojoto closed 9 months ago

Pojoto commented 9 months ago

For some ciphers (Hill is one of them), pressing the "Suggest Question" button does not register the program requiring the user to save the question, despite the question text changing.

If you press "Suggest Question", and leave the page, the question text does not get saved. Additionally, the "Save" button never turns red, indicating it needs to be saved.

toebes commented 9 months ago

This is because the replaceQuestionText() routine doesn't call markundo!