Fix error in empty testing in templates. r=brendan, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@92051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1295,8 +1295,10 @@ nsXULTemplateBuilder::CheckContainer(nsIRDFResource* aResource, PRBool* aIsConta
|
||||
isContainer = PR_TRUE;
|
||||
|
||||
// ...should we check if it's empty?
|
||||
if (!aIsEmpty || (mFlags & eDontTestEmpty))
|
||||
if (!aIsEmpty || (mFlags & eDontTestEmpty)) {
|
||||
isEmpty = PR_FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
// Yes: call GetTarget() and see if there's anything on
|
||||
// the other side...
|
||||
|
||||
Reference in New Issue
Block a user