Description[Galley] Fix an exception in clicking a thumbnail
This patch fixes the exception in clicking a thumbnail. It is a regression caused by r249027 and a possible cause of crbug.com/340624.
The 'length' property of the selection model is NOT the number of the selected item. To get it, we need to get the length of 'selectedIndex' property.
BUG=340624
TEST=manually
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251290
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix the root cause #
Total comments: 2
Patch Set 3 : Addressed the comment #Messages
Total messages: 14 (0 generated)
|