Bug 419765 - "PyDOM script error, Python cannot handle dom events" (Add handling of the additional version argument) [p=toddw@ActiveState.com (Todd Whiteman) r=mhammond (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@246781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -495,7 +495,7 @@ nsPythonContext::CompileEventHandler(nsIAtom *aName,
|
||||
PyList_SET_ITEM(argNames, i, PyString_FromString(aArgNames[i]));
|
||||
}
|
||||
PyObject *ret = PyObject_CallMethod(mDelegate, "CompileEventHandler",
|
||||
"sNNsi",
|
||||
"sNNsii",
|
||||
AtomToEventHandlerName(aName),
|
||||
argNames,
|
||||
PyObject_FromNSString(aBody),
|
||||
|
||||
Reference in New Issue
Block a user