Approved.

On Mar 14, 2007, at 5:10 PM, Max Carlson wrote:

Change 20070314-maxcarlson-x by [EMAIL PROTECTED] on 2007-03-14 14:07:47 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean

Summary: Fix dhtml onerror and ontimeout in IE 7

New Features:

Bugs Fixed: LPP-3658 - IE can't reload image after an error or timeout.

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: IE doesn't like resourcewidth/height of 0


Tests:
<canvas>
    <simplelayout/>
    <button onclick="img.setSource('aksjhd');">Error</button>
<button onclick="canvas.medialoadtimeout = 1;">Set timeout to 1</button> <button onclick="img.setSource('/legals/test/resources/jpg/ k8s.jpg');">Load</button>
    <view name="img">
        <method event="onload">
            Debug.write('load', this)
        </method>
        <method event="onerror">
            Debug.write('error', this)
        </method>
        <method event="ontimeout">
            Debug.write('timeout', this)
        </method>
    </view>
</canvas>


Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070314- maxcarlson-x.tar

Reply via email to