DynDocument.prototype.invokeEvent=DynLayer.prototype.invokeEvent;
Michael Pemberton wrote:
I've noticed that there is only two lines difference between the DynDocument and DynLayer invokeEvent methods.I'd suggest we simply alter the final lines to read as follows:
if (this.isDynLayer && is.ns && e) {
if (e.cancelBubble) return;
if (orig && orig.target.handleEvent && orig.target!=this.elm) orig.target.handleEvent(type,orig);
} else if (this.isDynDocument && (i!=0 || e) && is.ns) {
if (e.cancelBubble) return;
if (orig && orig.target.handleEvent && !orig.target.URL) orig.target.handleEvent(orig);
};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.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
