зеркало из 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) {
|
||||
// Remove all the old attributes.
|
||||
mOuter->RemoveAttribute(nsAutoString("value"));
|
||||
mOuter->RemoveAttribute(nsAutoString("src"));
|
||||
mOuter->RemoveAttribute(nsAutoString("data"));
|
||||
nsAutoString attribstr;
|
||||
attribstr.AssignWithConversion("value");
|
||||
mOuter->RemoveAttribute(attribstr);
|
||||
attribstr.AssignWithConversion("src");
|
||||
mOuter->RemoveAttribute(attribstr);
|
||||
attribstr.AssignWithConversion("data");
|
||||
mOuter->RemoveAttribute(attribstr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче