[Laszlo-checkins] r13130 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf
max@openlaszlo.org
max at openlaszlo.org
Mon Mar 2 18:59:52 PST 2009
Author: max
Date: 2009-03-02 18:59:50 -0800 (Mon, 02 Mar 2009)
New Revision: 13130
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
Log:
Change 20090302-maxcarlson-F by maxcarlson at Bank.lan on 2009-03-02 06:36:52 PST
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Correct text and inputtext default values with accessibility on
Bugs Fixed: LPP-7594 - IBM Jaws Accessibility support needed for Radioboxes and trees and Issues (partial)
Technical Reviewer: promanik
QA Reviewer: aalappat at laszlosystems.com
Details: LzTextSprite - Return string values from annotateAAimg() to follow setText() contract of expecting only string values.
Tests: accimpl2.lzx from LPP-7594 no longer shows 'undefined' on the button.
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as 2009-03-03 02:54:53 UTC (rev 13129)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as 2009-03-03 02:59:50 UTC (rev 13130)
@@ -472,8 +472,8 @@
* @access private
*/
LzTextSprite.prototype.annotateAAimg = function (txt) {
- if (typeof(txt) == "undefined") { return; }
- if (txt.length == 0) { return };
+ if (typeof(txt) == "undefined") { return ''; }
+ if (txt.length == 0) { return ''};
var ntxt = "";
// search for <img ...> strings
More information about the Laszlo-checkins
mailing list