https://bugzilla.wikimedia.org/show_bug.cgi?id=35561
Web browser: ---
Bug #: 35561
Summary: [jquery.byteLimit] Use post-insert check instead of
trying to figure out all ways of insertion
Product: MediaWiki
Version: 1.18
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Javascript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 35560
Classification: Unclassified
Mobile Platform: ---
We discussed this before but for some reason it didn't happen. But now that we
found another way of insertion that doesn't match the "curent text +1" logic
(bug 35560), I think it's worth doing.
Pasting, selecting, dragging, special characters that requite pressing multiple
keys etc. there are so many ways to insert text into an input field. Lets not
preventDefault() and instead check the value after the insertion and chop it of
1ms later.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l