Bug 430214, patch1, r+sr=sicking
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Wed, 03 Dec 2008 13:09:42 +0200
changeset 22226 36a1bd4eedfc815a25e5eab89c915e66266a1406
parent 22225 f0c68338ddf1001804d9914f49abf90961c8088e
child 22227 d3194d7d248bd70f923080ba01819546e3e344ab
push idunknown
push userunknown
push dateunknown
bugs430214
milestone1.9.2a1pre
Bug 430214, patch1, r+sr=sicking
content/html/content/src/nsHTMLSelectElement.cpp
--- a/content/html/content/src/nsHTMLSelectElement.cpp
+++ b/content/html/content/src/nsHTMLSelectElement.cpp
@@ -1069,19 +1069,16 @@ nsHTMLSelectElement::SetOptionsSelectedB
   if (optionsDeselected && aStartIndex != -1) {
     optionsSelected = CheckSelectSomething() || optionsSelected;
   }
 
   // Let the caller know whether anything was changed
   if (optionsSelected || optionsDeselected) {
     if (aChangedSomething)
       *aChangedSomething = PR_TRUE;
-
-    // Dispatch an event to notify the subcontent that the selected item has changed
-    DispatchDOMEvent(NS_LITERAL_STRING("selectedItemChanged"));
   }
 
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsHTMLSelectElement::IsOptionDisabled(PRInt32 aIndex, PRBool* aIsDisabled)
 {