Closed slugbucket closed 4 years ago
It might just be easier to use an AJAX submission of the solutions form, clearing the clue, solution and hint field after successful saving the new entry.
Found that the LDAP login was rather broken following the code refactor and that had to be fixed incidentally to the main gist of the ticket. Decided to use a session value to store the crossword setter id for reuse in later solution submissions. Then found that the view macros weren't setting the selected option in the select list because the comparison between the default value (from the session didn't match the item in the list of option values; casting the option list item to a string allowd the comparison to succeed.
When entering a list of solutions from a puzzle remembering the previous setter would avoid the need to always having to select from the setters dropdown select list.