what's the story with try/catch and SWF? does it work in any version  
of SWF?

On Oct 5, 2006, at 8:19 AM, P T Withington wrote:

> 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.
>
> On 2006-10-05, at 11:03 EDT, Philip Romanik wrote:
>
>> Change change.MJyDT2300.txt by [EMAIL PROTECTED] /cygdrive/f/laszlo/
>> svn/src/svn/openlaszlo/branches/legals/WEB-INF/lps/lfc/ on
>> 2006-10-05 10:55:00 EDT
>>
>> Summary: Don't delete property from global.
>>
>> New Features:
>>
>> Bugs Fixed:
>>
>> Technical Reviewer: ptw
>> QA Reviewer: (pending)
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>> On IE6, you cannot delete a global property. The LzNode.destroy()
>> method does this. The right way to fix this is to do LPP-1871. In
>> the meantime, instead of deleting the property, I set it to null.
>> There is a comment in the code that references LPP-1871
>>
>>
>> Tests:
>> calendar view loads on IE6.
>>
>> Files:
>> M      core\LzNode.lzs
>> <patch.Philip.4556.tgz>
>
>
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



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

Reply via email to