зеркало из https://github.com/mozilla/pjs.git
fixed str bustage.
This commit is contained in:
Родитель
dd2362047e
Коммит
5641d1e14f
|
@ -266,9 +266,13 @@ nsXULMenuListElement::SetSelectedItem(nsIDOMElement* aElement)
|
||||||
|
|
||||||
if (!mSelectedItem) {
|
if (!mSelectedItem) {
|
||||||
// Remove all the old attributes.
|
// Remove all the old attributes.
|
||||||
mOuter->RemoveAttribute(nsAutoString("value"));
|
nsAutoString attribstr;
|
||||||
mOuter->RemoveAttribute(nsAutoString("src"));
|
attribstr.AssignWithConversion("value");
|
||||||
mOuter->RemoveAttribute(nsAutoString("data"));
|
mOuter->RemoveAttribute(attribstr);
|
||||||
|
attribstr.AssignWithConversion("src");
|
||||||
|
mOuter->RemoveAttribute(attribstr);
|
||||||
|
attribstr.AssignWithConversion("data");
|
||||||
|
mOuter->RemoveAttribute(attribstr);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче