Fixed HP bustage
This commit is contained in:
Родитель
8e8bf33722
Коммит
33f183e6e0
|
@ -166,7 +166,12 @@ NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, PRUnicha
|
|||
PRBool checked = PR_FALSE;
|
||||
if (element)
|
||||
element->GetChecked(&checked);
|
||||
*_retval = ToNewUnicode(checked? NS_LITERAL_STRING("uncheck"): NS_LITERAL_STRING("check"));
|
||||
|
||||
if (checked)
|
||||
*_retval = ToNewUnicode(NS_LITERAL_STRING("uncheck"));
|
||||
else
|
||||
*_retval = ToNewUnicode(NS_LITERAL_STRING("check"));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
|
|
|
@ -166,7 +166,12 @@ NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, PRUnicha
|
|||
PRBool checked = PR_FALSE;
|
||||
if (element)
|
||||
element->GetChecked(&checked);
|
||||
*_retval = ToNewUnicode(checked? NS_LITERAL_STRING("uncheck"): NS_LITERAL_STRING("check"));
|
||||
|
||||
if (checked)
|
||||
*_retval = ToNewUnicode(NS_LITERAL_STRING("uncheck"));
|
||||
else
|
||||
*_retval = ToNewUnicode(NS_LITERAL_STRING("check"));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
|
|
Загрузка…
Ссылка в новой задаче