diff --git a/mozilla/content/xul/content/src/nsXULElement.cpp b/mozilla/content/xul/content/src/nsXULElement.cpp index 7c7e8724e95..ebd54d3d136 100644 --- a/mozilla/content/xul/content/src/nsXULElement.cpp +++ b/mozilla/content/xul/content/src/nsXULElement.cpp @@ -1858,8 +1858,8 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID, attributeName.EqualsIgnoreCase("onunload") || attributeName.EqualsIgnoreCase("onabort") || attributeName.EqualsIgnoreCase("onerror") || - attributeName.EqualsIgnoreCase("onconstruct") || - attributeName.EqualsIgnoreCase("ondestruct")) + attributeName.EqualsIgnoreCase("oncreate") || + attributeName.EqualsIgnoreCase("ondestroy")) AddScriptEventListener(aName, aValue, kIDOMLoadListenerIID); else if (attributeName.EqualsIgnoreCase("onfocus") || attributeName.EqualsIgnoreCase("onblur")) diff --git a/mozilla/rdf/content/src/nsRDFElement.cpp b/mozilla/rdf/content/src/nsRDFElement.cpp index 7c7e8724e95..ebd54d3d136 100644 --- a/mozilla/rdf/content/src/nsRDFElement.cpp +++ b/mozilla/rdf/content/src/nsRDFElement.cpp @@ -1858,8 +1858,8 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID, attributeName.EqualsIgnoreCase("onunload") || attributeName.EqualsIgnoreCase("onabort") || attributeName.EqualsIgnoreCase("onerror") || - attributeName.EqualsIgnoreCase("onconstruct") || - attributeName.EqualsIgnoreCase("ondestruct")) + attributeName.EqualsIgnoreCase("oncreate") || + attributeName.EqualsIgnoreCase("ondestroy")) AddScriptEventListener(aName, aValue, kIDOMLoadListenerIID); else if (attributeName.EqualsIgnoreCase("onfocus") || attributeName.EqualsIgnoreCase("onblur")) diff --git a/mozilla/rdf/content/src/nsXULElement.cpp b/mozilla/rdf/content/src/nsXULElement.cpp index 7c7e8724e95..ebd54d3d136 100644 --- a/mozilla/rdf/content/src/nsXULElement.cpp +++ b/mozilla/rdf/content/src/nsXULElement.cpp @@ -1858,8 +1858,8 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID, attributeName.EqualsIgnoreCase("onunload") || attributeName.EqualsIgnoreCase("onabort") || attributeName.EqualsIgnoreCase("onerror") || - attributeName.EqualsIgnoreCase("onconstruct") || - attributeName.EqualsIgnoreCase("ondestruct")) + attributeName.EqualsIgnoreCase("oncreate") || + attributeName.EqualsIgnoreCase("ondestroy")) AddScriptEventListener(aName, aValue, kIDOMLoadListenerIID); else if (attributeName.EqualsIgnoreCase("onfocus") || attributeName.EqualsIgnoreCase("onblur"))