From b92179cf5c19fb86d2be600a3fa85209b62f433c Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Wed, 9 Jun 1999 01:11:39 +0000 Subject: [PATCH] Changed event names to "create" and "destroy" git-svn-id: svn://10.0.0.236/trunk@34341 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xul/content/src/nsXULElement.cpp | 4 ++-- mozilla/rdf/content/src/nsRDFElement.cpp | 4 ++-- mozilla/rdf/content/src/nsXULElement.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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"))