Bug 741064. (Av1) Fix "function PTV__buildVisibleSection does not always return a value". r=mano.

This commit is contained in:
Serge Gautherie 2012-04-01 18:13:44 +02:00
parent 337468e523
commit 8d70c23ab3

View File

@ -262,7 +262,7 @@ PlacesTreeView.prototype = {
{
// There's nothing to do if the container is closed.
if (!aContainer.containerOpen)
return;
return 0;
// Inserting the new elements into the rows array in one shot (by
// Array.concat) is faster than resizing the array (by splice) on each loop