Index: WebCore/dom/SelectElement.cpp |
=================================================================== |
--- WebCore/dom/SelectElement.cpp (revision 73157) |
+++ WebCore/dom/SelectElement.cpp (working copy) |
@@ -949,8 +949,12 @@ |
else |
setSelectedIndex(data, element, index, false, true); |
} |
- |
- listBoxOnChange(data, element); |
+ |
+ if (data.usesMenuList()) |
+ menuListOnChange(data, element); |
+ else |
+ listBoxOnChange(data, element); |
+ |
scrollToSelection(data, element); |
} |