Mozilla stuff

Uhm...

2004-08-30

case nsIDOMKeyEvent::DOM_VK_BACK_SPACE:
{
nsCOMPtr input;
mController->GetInput(getter_AddRefs(input));
nsAutoString newValue;
input->GetTextValue(newValue);
mFocusedPopup->ClosePopup();
NS_ASSERTION(mController, "pleas, no popup anymore");
//if (newValue.Length() <= 2){
// input->SetPopupOpen(PR_FALSE);
// return NS_OK;
//}
//mController->HandleText(PR_FALSE);
break;
}

0 Comments:

Post a Comment

<< Home