ckeditor4-plugin-a11ychecker
ckeditor4-plugin-a11ychecker copied to clipboard
Spamming AC button will throw exception
If you'll click AC button frequently, you'll produce following exception:
Uncaught TypeError: Cannot read property 'getFocused' of null
Clicking the AC button when it's already depressed is enough to reproduce this error.
The problem here was that Controller.issues is not defined during construction, although other classes expect that to be the case.
Solved this by setting Controller.issues to an empty IssueList in the constructor.
I'll put this on review as soon as I write the tests for it.