182099 - lock up on stylesheets tab double-clicking the twisty

r=varga, sr=bzbarsky, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141859 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
caillon%returnzero.com
2003-04-26 21:38:53 +00:00
parent b2ac9f24af
commit 84e9484ae9
2 changed files with 3 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ function(aRow)
if (this.mLevels[i] < baseLevel)
return i;
}
return 0;
return -1;
}
StyleSheetsView.prototype.hasNextSibling =

View File

@@ -116,7 +116,8 @@ interface nsITreeView : nsISupports
/**
* Methods used by the tree to draw vertical lines in the tree.
* GetParentIndex is used to obtain the index of a parent row.
* getParentIndex is used to obtain the index of a parent row.
* If there is no parent row, getParentIndex returns -1.
*/
long getParentIndex(in long rowIndex);