[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2004-02-06 14:20:14
Message-ID: 20040206142014.C3F5D9914 () office ! kde ! org
[Download RAW message or body]

CVS commit by buis: 


Unless I am very blind, the stripped out code is already in dispatchChildRemovalEvents.
Okayed by David.


  M +0 -9      dom_nodeimpl.cpp   1.226


--- kdelibs/khtml/xml/dom_nodeimpl.cpp  #1.225:1.226
@@ -1223,13 +1223,4 @@ NodeImpl *NodeBaseImpl::removeChild ( No
     }
 
-    // Dispatch pre-removal mutation events
-    getDocument()->notifyBeforeNodeRemoval(oldChild); // ### use events instead
-    if (getDocument()->hasListenerType(DocumentImpl::DOMNODEREMOVED_LISTENER)) {
-        oldChild->dispatchEvent(new MutationEventImpl(EventImpl::DOMNODEREMOVED_EVENT,
-                             true,false,this,DOMString(),DOMString(),DOMString(),0),exceptioncode,true);
-        if (exceptioncode)
-            return 0;
-    }
-
     dispatchChildRemovalEvents(oldChild,exceptioncode);
     if (exceptioncode)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic