More tweaks to broadcasters.

This commit is contained in:
hyatt%netscape.com 1999-03-05 23:53:01 +00:00
parent 441af16eda
commit 97609c195b
3 changed files with 9 additions and 3 deletions

View File

@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
if (xulListener->mAttribute == aString) {
nsCOMPtr<nsIDOMElement> element;
element = do_QueryInterface(xulListener->mListener);
if (element)
if (element) {
// First we set the attribute in the observer.
element->SetAttribute(aString, aValue);
}
}
}
}

View File

@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
if (xulListener->mAttribute == aString) {
nsCOMPtr<nsIDOMElement> element;
element = do_QueryInterface(xulListener->mListener);
if (element)
if (element) {
// First we set the attribute in the observer.
element->SetAttribute(aString, aValue);
}
}
}
}

View File

@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
if (xulListener->mAttribute == aString) {
nsCOMPtr<nsIDOMElement> element;
element = do_QueryInterface(xulListener->mListener);
if (element)
if (element) {
// First we set the attribute in the observer.
element->SetAttribute(aString, aValue);
}
}
}
}