I'd make the doc return type for callJavascript() be * instead of
String. Otherwise, approved!
On 7/13/10 2:05 PM, [email protected] wrote:
Change 20100713-philip-cHu by phi...@philip-i7 on 2010-07-13 16:54:31 EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Improve callJavascript method in html component
New Features:
Bugs Fixed: LPP-9187
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Modified html#callJavascript to return a value. This method already
takes a callback delegate which fires when the return value is
available. However, if the html component (and the page content) is
loaded, this information can be returned immediately without the need
for a callback. iframemanager.js already returns a value when
callJavascript is called.
This change works in all platforms.
Tests:
Run the test in the jira report. Without the change, the counter will
not increment on the screen. With the changeset applied, the counter
will increment.
Files:
M lps/components/extensions/htm
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100713-philip-cHu.tar
--
Regards,
Max Carlson
OpenLaszlo.org