mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv
This commit is contained in:
parent
0a1dcc0efb
commit
79ff8e412b
@ -1912,6 +1912,12 @@ nsXULTemplateBuilder::CompileTemplate(nsIContent* aTemplate,
|
||||
if (! memberVariable) continue;
|
||||
|
||||
if (hasQuery) {
|
||||
nsCOMPtr<nsIAtom> tag;
|
||||
DetermineRDFQueryRef(aQuerySet->mQueryNode,
|
||||
getter_AddRefs(tag));
|
||||
if (tag)
|
||||
aQuerySet->SetTag(tag);
|
||||
|
||||
if (! aQuerySet->mCompiledQuery) {
|
||||
nsCOMPtr<nsIDOMNode> query(do_QueryInterface(aQuerySet->mQueryNode));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user