diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager; diff --git a/rdf/content/src/nsRDFElement.cpp b/rdf/content/src/nsRDFElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/rdf/content/src/nsRDFElement.cpp +++ b/rdf/content/src/nsRDFElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager; diff --git a/rdf/content/src/nsXULElement.cpp b/rdf/content/src/nsXULElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/rdf/content/src/nsXULElement.cpp +++ b/rdf/content/src/nsXULElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager;