зеркало из https://github.com/mozilla/pjs.git
27908: Fix multiple keyboard pastes by disabling ProcessShortCutKeys (finally!) r=brade, a=jar
This commit is contained in:
Родитель
7bd1f40af6
Коммит
2c574ae9cf
|
@ -238,6 +238,8 @@ nsresult
|
|||
nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aProcessed)
|
||||
{
|
||||
aProcessed=PR_FALSE;
|
||||
|
||||
#ifdef USE_OLD_OBSOLETE_HARDWIRED_SHORTCUT_KEYS
|
||||
PRUint32 charCode;
|
||||
|
||||
nsCOMPtr<nsIDOMKeyEvent>keyEvent;
|
||||
|
@ -317,6 +319,7 @@ nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aPr
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -238,6 +238,8 @@ nsresult
|
|||
nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aProcessed)
|
||||
{
|
||||
aProcessed=PR_FALSE;
|
||||
|
||||
#ifdef USE_OLD_OBSOLETE_HARDWIRED_SHORTCUT_KEYS
|
||||
PRUint32 charCode;
|
||||
|
||||
nsCOMPtr<nsIDOMKeyEvent>keyEvent;
|
||||
|
@ -317,6 +319,7 @@ nsTextEditorKeyListener::ProcessShortCutKeys(nsIDOMEvent* aKeyEvent, PRBool& aPr
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче