Created
November 2, 2011 17:24
-
-
Save Slow3000/1334288 to your computer and use it in GitHub Desktop.
Webkit trunk on harmattan build fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/WebCore/html/HTMLSelectElement.cpp b/Source/WebCore/html/HTMLSelectElement.cpp | |
index 4986288..2d7fbe7 100644 | |
--- a/Source/WebCore/html/HTMLSelectElement.cpp | |
+++ b/Source/WebCore/html/HTMLSelectElement.cpp | |
@@ -171,7 +171,7 @@ bool HTMLSelectElement::valueMissing() const | |
void HTMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow) | |
{ | |
if (!multiple()) | |
- setSelectedIndexByUser(listToOptionIndex(listIndex), true, fireOnChangeNow); | |
+ optionSelectedByUser(listToOptionIndex(listIndex), fireOnChangeNow, false); | |
else { | |
updateSelectedState(listIndex, allowMultiplySelections, shift); | |
setNeedsValidityCheck(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment