DescriptionKeep active directory when same root item on navigation list is activated.
NavigationList's activeModelItem_() is called even when the actual active model is not changed.
It occurs when the list items on navigation list are permutated by mounting/unmounting devices.
This patch checks if the actual active model is changed.
Code for clearing selection on clicking root items is moved to click event handler.
BUG=361047
TEST=manually tested
ran browser_tests gtest_filter=*FileManager*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266507
Patch Set 1 #Patch Set 2 : Modify comments. #Messages
Total messages: 7 (0 generated)
|