(follow-up r80554) If person typed max amount in edit summary, backspace didn't work...
authorBrian Wolff <bawolff@users.mediawiki.org>
Wed, 2 Mar 2011 03:57:58 +0000 (03:57 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Wed, 2 Mar 2011 03:57:58 +0000 (03:57 +0000)
commit3e237f164bf033f2d8252a3558091c8792a2b93e
tree621a9fc87b2c647015e91837bd344288c1053886
parente2ba564eb7e52b5863a7ae6de751070406709d5a
(follow-up r80554) If person typed max amount in edit summary, backspace didn't work on some versions of opera

This still doesn't recognize all special keys on affected versions of opera as
keystrokes to ignore. I don't think this is a big issue, since backspace
is recognized (which is the only key thats really important), newer
versions of Opera should not be affected, and (based on a skim of the jQuery
site) it appears that if we ever upgrade our version of jQuery, the issue
might go away. (not 100% sure about that last part)

Originally when i was testing this code, I tested in all sorts of browsers
that it would stop people from putting more text in. I never tested that
it would allow backspaces (I now have, opera was the only affected one where
it didn't work).

Thanks to Alex Smotrov for reporting issue.
resources/mediawiki.action/mediawiki.action.edit.js