Hi Tucker,

So what is the best solution? For testing, I commented out the delete and 
set the entry to null. The calendar view loads without errors on IE6.

Phil

>Ok.  In that case, I wonder if it is just that JScript does not allow
>you to delete properties from global?
>
>Fixed by modules... bleah.
>
>On 2006-10-04, at 15:57 EDT, Philip Romanik wrote:
>
> > Sorry, it is 'loadingView'. I have too many debugging statements
> > running.
> >
> > Phil
> >
> >> Hum, well something is screwy.  You said that its id was 0, but here
> >> it clearly says its id is 'loadingView'.  Curious.
> >>
> >> On 2006-10-04, at 15:34 EDT, Philip Romanik wrote:
> >>
> >> > this.name = null so I don't think it is deleted twice. I'll add
> >> > some debugging code to see what is going on.
> >> >
> >> >     <view id="loadingView" initstage="early" resource="images/
> >> > loading/cal_load_still.png"
> >> >         x="${(parent.width-this.width)/2}" y="${(parent.height-
> >> > this.height)/2}">
> >> >     </view>
> >> >
> >> >
> >> >> How does it get past:
> >> >>
> >> >> >          if ( global[ this.id ] === this ){
> >> >>
> >> >> ?  Are you telling me that global[0] === loadingView?
> >> >>
> >> >> Oh, wait.  Is this something totally stupid like JScript delete is
> >> >> actually deleting the object not just removing the property?  If
> >> >> loadingView is on the canvas, then its name is a global too,
> >> and just
> >> >> before destroy deletes the id, it deletes the name.  Maybe we are
> >> >> just triggering a 'double delete' in IE's brain-dead memory
> >> >> allocation code?
> >> >>
> >> >> Wild stab:  rewrite as
> >> >>
> >> >>    if (this.id in global && global[this.id] === this) {
> >> >>
> >> >>
> >> >>
> >> >> On 2006-10-04, at 14:42 EDT, Philip Romanik wrote:
> >> >>
> >> >> > id = 0
> >> >> >
> >> >> >> What was the value of "id" ?
> >> >> >>
> >> >> >>
> >> >> >> On 10/4/06, P T Withington
> >> >> >> <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote: This is
> >> >> >> actually in LzNode.destroy:
> >> >> >>
> >> >> >>      if ( <http://this.id>this.id != null ){
> >> >> >>          if ( global[ <http://this.id>this.id ] === this ){
> >> >> >>              delete global[ <http://this.id>this.id ];
> >> >> >>          }
> >> >> >>      }
> >> >> >>
> >> >> >> I don't really see what could be going wrong here, unless
> >> >> JScript has
> >> >> >> some funky implementation of delete.
> >> >> >
> >> >
> >


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

Reply via email to