зеркало из https://github.com/mozilla/pjs.git
Fix for bug#15946
This commit is contained in:
Родитель
20dd28c498
Коммит
75fc002bef
|
@ -331,8 +331,8 @@ XULPopupListenerImpl::MouseOut(nsIDOMEvent* aMouseEvent)
|
|||
}
|
||||
|
||||
if ( mPopupContent ) {
|
||||
mPopupContent->RemoveAttribute("menugenerated"); // hide the popup
|
||||
mPopupContent->RemoveAttribute("menuactive");
|
||||
nsCOMPtr<nsIDOMXULPopupElement> popupElement = do_QueryInterface(mPopupContent);
|
||||
popupElement->ClosePopup();
|
||||
|
||||
mPopupContent = nsnull; // release the popup
|
||||
|
||||
|
|
|
@ -331,8 +331,8 @@ XULPopupListenerImpl::MouseOut(nsIDOMEvent* aMouseEvent)
|
|||
}
|
||||
|
||||
if ( mPopupContent ) {
|
||||
mPopupContent->RemoveAttribute("menugenerated"); // hide the popup
|
||||
mPopupContent->RemoveAttribute("menuactive");
|
||||
nsCOMPtr<nsIDOMXULPopupElement> popupElement = do_QueryInterface(mPopupContent);
|
||||
popupElement->ClosePopup();
|
||||
|
||||
mPopupContent = nsnull; // release the popup
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче