[Laszlo-checkins] r9415 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9

bargull@openlaszlo.org bargull at openlaszlo.org
Sun Jun 1 05:40:58 PDT 2008


Author: bargull
Date: 2008-06-01 05:40:55 -0700 (Sun, 01 Jun 2008)
New Revision: 9415

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as
Log:
Change 20080601-bargull-EDo by bargull at dell--p4--2-53 on 2008-06-01 02:15:32
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: return current text for inputtext-sprite

New Features:

Bugs Fixed: LPP-6079

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

Documentation:

Release Notes:

Details:
Just return the flash textfield's text. That way it's consistent across all runtimes.
    

Tests:



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as	2008-06-01 09:37:02 UTC (rev 9414)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzInputTextSprite.as	2008-06-01 12:40:55 UTC (rev 9415)
@@ -146,6 +146,14 @@
             if (owner) owner.inputtextevent('onblur');
         }    
     }
+    
+    /**
+     * Get the current text for this inputtext-sprite.
+     * @protected
+     */
+    override public function getText():String {
+            return textfield.text;
+    }
 
     /**
      * Retrieves the contents of the text field for use by a datapath. See



More information about the Laszlo-checkins mailing list