Bug 657462: don't select the first item in the download manager automatically, r=dolske
☠☠ backed out by 3e43716ba2e8 ☠ ☠
authorGavin Sharp <gavin@gavinsharp.com>
Thu, 29 Sep 2011 14:06:45 -0700
changeset 77891 c96e659e0f0a8fcf377ab714822be305458c3134
parent 77884 3bb95f690d75fb95d5404c14e7327a4fa039de8c
child 77892 7d8bf0bce55c77b1fd45e13af178f10b4d790bc3
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersdolske
bugs657462
milestone10.0a1
Bug 657462: don't select the first item in the download manager automatically, r=dolske
toolkit/mozapps/downloads/content/downloads.js
--- a/toolkit/mozapps/downloads/content/downloads.js
+++ b/toolkit/mozapps/downloads/content/downloads.js
@@ -1154,17 +1154,16 @@ function buildDownloadList(aForceBuild)
     gStmt.reset();
     return;
   }
 
   // Take a quick break before we actually start building the list
   gBuilder = setTimeout(function() {
     // Start building the list and select the first item
     stepListBuilder(1);
-    gDownloadsView.selectedIndex = 0;
 
     // We just tried to add a single item, so we probably need to enable
     updateClearListButton();
   }, 0);
 }
 
 /**
  * Incrementally build the download list by adding at most the requested number