Bug 705457 - Tab key should move focus to the next field in a form. r=blassey

This commit is contained in:
Alex Pakhotin 2011-11-30 11:25:17 -08:00
parent ac952b7dce
commit b6bb536da1

View File

@ -854,6 +854,7 @@ public class GeckoInputConnection
if (mIMEState == IME_STATE_DISABLED || if (mIMEState == IME_STATE_DISABLED ||
keyCode == KeyEvent.KEYCODE_ENTER || keyCode == KeyEvent.KEYCODE_ENTER ||
keyCode == KeyEvent.KEYCODE_DEL || keyCode == KeyEvent.KEYCODE_DEL ||
keyCode == KeyEvent.KEYCODE_TAB ||
(event.getFlags() & KeyEvent.FLAG_SOFT_KEYBOARD) != 0 || (event.getFlags() & KeyEvent.FLAG_SOFT_KEYBOARD) != 0 ||
!mKeyListener.onKeyDown(v, mEditable, keyCode, event)) !mKeyListener.onKeyDown(v, mEditable, keyCode, event))
GeckoAppShell.sendEventToGecko(new GeckoEvent(event)); GeckoAppShell.sendEventToGecko(new GeckoEvent(event));