[Laszlo-checkins] r12316 - openlaszlo/branches/4.2/WEB-INF/lps/lfc/kernel/dhtml
ptw@openlaszlo.org
ptw at openlaszlo.org
Tue Jan 6 15:09:51 PST 2009
Author: ptw
Date: 2009-01-06 15:09:50 -0800 (Tue, 06 Jan 2009)
New Revision: 12316
Modified:
openlaszlo/branches/4.2/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
Log:
Change 20090106-ptw-y by ptw at dueling-banjos.home on 2009-01-06 17:57:07 EST
in /Users/ptw/OpenLaszlo/4.2
for http://svn.openlaszlo.org/openlaszlo/branches/4.2
Summary: Hand-integrate part of r12313
Bugs Fixed:
LPP-7565 DHTML: multiline inputtext with maxlength broken (rev #11705)
Technical Reviewer: a.bargull at intensis.de (Message-ID: <4963E411.6030404 at udo.edu>)
Modified: openlaszlo/branches/4.2/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
===================================================================
--- openlaszlo/branches/4.2/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2009-01-06 23:00:37 UTC (rev 12315)
+++ openlaszlo/branches/4.2/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2009-01-06 23:09:50 UTC (rev 12316)
@@ -1,7 +1,7 @@
/**
* LzInputTextSprite.js
*
- * @copyright Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved.
+ * @copyright Copyright 2007-2009 Laszlo Systems, Inc. All Rights Reserved.
* Use is subject to license terms.
*
* @topic Kernel
@@ -464,6 +464,7 @@
if (eventname == 'onkeypress') {
if (sprite.multiline && view.maxlength > 0) {
+ var keycode = evt.keyCode;
var charcode = sprite.quirks.text_event_charcode ? evt.charCode : evt.keyCode;
//Debug.write("charCode = %s, keyCode = %s, ctrlKey = %s, altKey = %s, shiftKey = %s", charcode, keycode, evt.ctrlKey, evt.altKey, evt.shiftKey);
More information about the Laszlo-checkins
mailing list