Backed out changeset c96e659e0f0a
authorGavin Sharp <gavin@gavinsharp.com>
Thu, 29 Sep 2011 17:05:59 -0700
changeset 77894 3e43716ba2e87bd83ccfacc02adbfbfff897223f
parent 77893 7019803376f1fa3323dbf3af6e6bd5a14250c572
child 77895 637bac44ba15f45e3814b20fbf91ed7cd421fe04
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
milestone10.0a1
backs outc96e659e0f0a8fcf377ab714822be305458c3134
Backed out changeset c96e659e0f0a
toolkit/mozapps/downloads/content/downloads.js
--- a/toolkit/mozapps/downloads/content/downloads.js
+++ b/toolkit/mozapps/downloads/content/downloads.js
@@ -1154,16 +1154,17 @@ 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