Hi Max,

I added a TODO comment to LzView.lzs.

Phil

>Can I ask that you add a TODO comment to change this to a kernel API or
>plain old try/catch when the SWF backend works?
>
>-Max
>
>Philip Romanik wrote:
> > Hi Tucker,
> >
> > Your version works fine on swf/FF dhtml/IE6 dhtml. I'll check it in
> > shortly. Here's a simple app to tickle the issue on IE6 dhtml:
> >
> > <canvas>
> >    <text id="tempview" initstage="early">tempview</text>
> >
> >    <method reference="canvas" event="oninit">
> >      tempview.destroy();
> >    </method>
> > </canvas>
> >
> >
> > Phil
> >
> >
> >> Approved, but...
> >>
> >> Could you see if this works:
> >>
> >> if ($dhtml) {
> >>    try {
> >>      delete global[this.id];
> >>    } catch (e) {
> >>     // If you can't delete, set to undefined
> >>      global[this.id] = void 0;
> >>    }
> >> } else {
> >>    delete global[this.id];
> >> }
> >>
> >> If it does, use that instead.
> >>


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to