https://bugzilla.wikimedia.org/show_bug.cgi?id=22967

Bawolff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7258|0                           |1
        is obsolete|                            |

--- Comment #14 from Bawolff <[email protected]> 2010-05-06 03:34:18 UTC ---
Created an attachment (id=7350)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7350)
patch to make Summary not be cut off. (the better version ;)

Third times the charm :). I think this patch is much better then my previous
ones. It cancels key strokes if the summary has too many characters, it does
not block special keys (backspace, etc). It keeps the maxlength to 200 for
people without js, then overrides it to 250 in javascript. It behaves much more
like maxlength parameter.

One thing to note is that this will consider ctrl+v as a non-printing
keystroke, and not filter it. I think thats ok.

Tested on the linux versions of: firefox (actually iceweasel) 3.0.6, MSIE 6.0,
Opera 10.10, Chrome 5.0.342.7 beta, Konqueror 5.3.9

-- 
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

Reply via email to