From: Michael P. <mp...@ph...> - 2001-01-12 03:42:52
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> I've noticed that there is only two lines difference between the DynDocument and DynLayer invokeEvent methods. <p>I'd suggest we simply alter the final lines to read as follows: <br><tt> if (this.isDynLayer && is.ns && e) {</tt> <br><tt> if (e.cancelBubble) return;</tt> <br><tt> if (orig && orig.target.handleEvent && orig.target!=this.elm) orig.target.handleEvent(type,orig);</tt> <br><tt> } else if (this.isDynDocument && (i!=0 || e) && is.ns) {</tt> <br><tt> if (e.cancelBubble) return;</tt> <br><tt> if (orig && orig.target.handleEvent && !orig.target.URL) orig.target.handleEvent(orig);</tt> <br><tt> };</tt> <p>If I've missed something and am completly wrong, please point out the errors of my way. If not, it might be worth making the alterations to the CVS version. <br>-- <br>Michael Pemberton <br>mp...@ph... <br>ICQ: 12107010 <br> </html> |