зеркало из https://github.com/mozilla/pjs.git
Commiting to M9 branch, a temp disabling of keybinding on win32 and linux. Bug 11983. Approved by jevering
This commit is contained in:
Родитель
de4d917332
Коммит
f9c6f80a72
|
@ -201,6 +201,7 @@ nsresult nsXULKeyListenerImpl::KeyPress(nsIDOMEvent* aKeyEvent)
|
|||
|
||||
nsresult nsXULKeyListenerImpl::DoKey(nsIDOMEvent* aKeyEvent, eEventType aEventType)
|
||||
{
|
||||
#ifdef XP_MAC
|
||||
if(aKeyEvent && mDOMDocument) {
|
||||
// Get DOMEvent target
|
||||
nsIDOMNode* target = nsnull;
|
||||
|
@ -400,7 +401,9 @@ nsresult nsXULKeyListenerImpl::DoKey(nsIDOMEvent* aKeyEvent, eEventType aEventTy
|
|||
} // end while(keysetNode)
|
||||
} // end if(aKeyEvent && mDOMDocument)
|
||||
return NS_ERROR_BASE;
|
||||
|
||||
#else
|
||||
return NS_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче