Fix extra divider line in save as dialog
Change directory tree to the first item's section instead of static TOP section to determine if the first section divider should appear. Change the value of section-start attribute to be the current section which is the correct value, instead of previous section. While here modernized this function to use const/let instead of var. Bug: 878531 Test: browsertest --gtest_filter='FileManagerJsTest.DirectoryTree*' Change-Id: If8db170594608fef04913f3f6fe8235764eb03f7 Reviewed-on: https://chromium-review.googlesource.com/1248066 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#594604}
Showing
Please register or sign in to comment