[Laszlo-dev] And another candidate for 4.2.0.1: LPP-7565
André Bargull
andre.bargull at udo.edu
Tue Jan 6 14:20:55 PST 2009
From this checkin
"http://www.openlaszlo.org/pipermail/laszlo-checkins/2009-January/011821.html",
I vote for integrating at least this change:
> @@ -463,39 +491,61 @@
> }
>
> if (eventname == 'onkeypress') {
> - if (sprite.multiline && view.maxlength > 0) {
> - var charcode = sprite.quirks.text_event_charcode ? evt.charCode : evt.keyCode;
> + if (sprite.restrict || (sprite.multiline && view.maxlength > 0)) {
> + *var keycode = evt.keyCode;*
> + var charcode = sprite.quirks.text_event_charcode ? evt.charCode : evt.keyCode;
>
So basically just the definition of "keycode" (it was removed
accidentally in change #11705).
More information about the Laszlo-dev
mailing list