Boris Zbarsky napisał(a):
Tomasz Pyra wrote:

(linkHTMLElement is my <a> tag - type nsIDOMHTMLAnchorElement)


nsCOMPtr<nsIDOMEventTarget> evtTarget= do_QueryInterface(OwnerDoc,&result);


You want the linkHTMLElement to be the event target, not the owner document.


Thank You! I lost few hours finding that bug :) _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to