Re: [Dynapi-Dev] Re: [Dynapi-Chat] Serious Event model bug, another bug

2001-11-05 Thread Richard Bennett
Hi, > Yes this is the correct solution, I noticed this a little while ago and had no problems since. Ok, I'll remove the comments. > There is also another major bug that should be fixed up in 2.5x. The precreate event gets called multiple time (an extra time for each time it's nested). The DynO

Re: [Dynapi-Dev] Re: [Dynapi-Chat] Serious Event model bug, another bug

2001-11-05 Thread Jordi Ministral
Well I've been looking at the event files looking for that bug. The issue here is that we have two types of events: the ones that must bubble and the ones that not. It does make a sense that mouseovers bubble while it doesn't ( at least it is not that clear ) that 'creates' and 'precreates' do

Re: [Dynapi-Dev] Re: [Dynapi-Chat] Serious Event model bug, another bug

2001-11-05 Thread Michael Pemberton
I tested the code below just by counting the number of times that the precreate event was being triggered.  On a page that had 51 calls using the existing code, I was able to reduce this to 47 using the below code.  Another page that previously had 15 call, now makes only 9. DynObject.prototype.f

Re[2]: [Dynapi-Dev] About Dan's next DynAPI release

2001-11-05 Thread Stephan Tolksdorf
> I don't think it'll break any widgets (but they'll have to be > updated anyway). Almost every time the first argument is set to > null or ''. And in fact widgets should never set the ID manually. > I don't believe I've ever explicitly called setID() on any dynlayer > since I originally wro