[Laszlo-checkins] r14308 - openlaszlo/trunk/WEB-INF/lps/lfc/views

hqm@openlaszlo.org hqm at openlaszlo.org
Fri Jul 10 14:16:33 PDT 2009


Author: hqm
Date: 2009-07-10 14:16:31 -0700 (Fri, 10 Jul 2009)
New Revision: 14308

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/views/LzInputText.lzs
Log:
Change 20090710-hqm-H by hqm at badtzmaru.home on 2009-07-10 00:06:33 EDT
    in /Users/hqm/openlaszlo/trunk6
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  default 'resize' to false for input text

New Features:

Bugs Fixed: LPP-8310

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ The 'resize' property of LzInputText was defaulting to 'true', so that an <inputtext> 
with no initial text value would resize to zero width when it was constructed. 


+ Added code to LzInputText.construct() to default resize to false. 

Tests:

 Amazon search field can be typed into



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LzInputText.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LzInputText.lzs	2009-07-10 19:27:01 UTC (rev 14307)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LzInputText.lzs	2009-07-10 21:16:31 UTC (rev 14308)
@@ -104,6 +104,7 @@
   */
 override function construct ( parent , args ){
     this.password = ('password' in args) ? (!! args.password) : false;
+    this.resize = ('resize' in args) ? (!! args.resize) : false;
     this.focusable = true;
     super.construct(parent, args);
     this._onfocusDel = new LzDelegate( this , "_gotFocusEvent" , this,



More information about the Laszlo-checkins mailing list