[Laszlo-checkins] r7067 - openlaszlo/trunk/lps/components/lz

bargull@openlaszlo.org bargull at openlaszlo.org
Wed Oct 31 13:00:11 PDT 2007


Author: bargull
Date: 2007-10-31 13:00:09 -0700 (Wed, 31 Oct 2007)
New Revision: 7067

Modified:
   openlaszlo/trunk/lps/components/lz/edittext.lzx
Log:
Change 20071031-bargull-0 by bargull at dell--p4--2-53 on 2007-10-31 00:07:43
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fixed typo in edittext#setMaxlength(..)

New Features:

Bugs Fixed:
LPP-3329 - "The "setMaxlength" method in the "edittext" class doesn't work"

Technical Reviewer: pbr
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Nothing special, just fixed a typo in edittext#setMaxlength(..). 
edittext attempts to call "setMaxlength" on its inputtext-field, but actually this method is called "setMaxLength".


Tests:



Modified: openlaszlo/trunk/lps/components/lz/edittext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/edittext.lzx	2007-10-31 19:59:20 UTC (rev 7066)
+++ openlaszlo/trunk/lps/components/lz/edittext.lzx	2007-10-31 20:00:09 UTC (rev 7067)
@@ -105,7 +105,7 @@
         <!-- Sets the maxmimum number of characters which can be entered. -->
         <method name="setMaxlength" args="n">
           this.setAttribute('maxlength', n);
-          field.setMaxlength(n);
+          this.field.setMaxLength(n);
         </method>
 
 



More information about the Laszlo-checkins mailing list