Open GoogleCodeExporter opened 8 years ago
This is located in GenericElementEventHandler.cs
Original comment by robp1971
on 4 Aug 2011 at 5:32
This invoke breaks "this" scope for JavaScript calls. When you invoke JS
handler this way, "this" keyword in it refers to wrong object and it may then
fail somewhere deeper in call chain. Replace marked line with:
return lIDispatch.InvokeMember("apply",
System.Reflection.BindingFlags.InvokeMethod, null, m_oldhandler, new object[] {
m_elem });
This calls old handler in scope of element setting "this" to correct value. I
fixed all my issues regarding this using this change.
Original comment by xkatu...@gmail.com
on 19 Sep 2011 at 11:33
Original issue reported on code.google.com by
robp1971
on 3 Aug 2011 at 7:03