Commit a040f8c8 authored by dgozman@chromium.org's avatar dgozman@chromium.org

Revert 108482 - [filebrowser] Fix the bug with leadIndex being null in ListSingleSelectionModel.

BUG=chromium-os:21669
TEST=See bug.

Review URL: http://codereview.chromium.org/8372100

TBR=kaznacheev@chromium.org
Review URL: http://codereview.chromium.org/8557007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109849 0039d316-1c4b-4281-b951-d872f2087c98
parent 494f3cfa
...@@ -52,8 +52,7 @@ cr.define('cr.ui', function() { ...@@ -52,8 +52,7 @@ cr.define('cr.ui', function() {
if (i != oldSelectedIndex) { if (i != oldSelectedIndex) {
this.beginChange(); this.beginChange();
this.selectedIndex_ = i; this.selectedIndex_ = i
this.leadIndex_ = this.anchorIndex_ = i;
this.endChange(); this.endChange();
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment