зеркало из https://github.com/mozilla/gecko-dev.git
Oops, removing ^M characters. Fixing IRIX bustage.
This commit is contained in:
Родитель
c8aef61acf
Коммит
c5358b6362
|
@ -174,11 +174,12 @@ nsTextEditorKeyListener::KeyPress(nsIDOMEvent* aKeyEvent)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
// DOM event handling happens in two passes, the client pass and the system
|
||||
// pass. We do all of our processing in the system pass, to allow client handlers
|
||||
// the opporunity to cancel events and prevent typing in the editor. If the client
|
||||
// pass cancelled the event, defaultPrevented will be true below.
|
||||
|
||||
// DOM event handling happens in two passes, the client pass and the system
|
||||
// pass. We do all of our processing in the system pass, to allow client
|
||||
// handlers the opporunity to cancel events and prevent typing in the editor.
|
||||
// If the client pass cancelled the event, defaultPrevented will be true
|
||||
// below.
|
||||
|
||||
nsCOMPtr<nsIDOMNSUIEvent> nsUIEvent = do_QueryInterface(aKeyEvent);
|
||||
if(nsUIEvent)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче