mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 17:22:26 +01:00
pass keys to the HTMLSelectElement
This commit is contained in:
2
NEWS
2
NEWS
@@ -11,6 +11,8 @@
|
||||
of bringing up the bookmarks/history window
|
||||
* IMPORTANT: "B" mapping now works just like :buffers, old bufferwindow will be removed
|
||||
at some time. Use B5gt to jump to the 5th tab.
|
||||
* also go to INSERT mode for HTMLSelectElements, so you can type text to go to element
|
||||
in drop down boxes
|
||||
* new "S" flag for "complete" to list google suggestions in :open vimp and
|
||||
pressing tab (disabled by default). Also added new 'suggestengines' option.
|
||||
* gi accepts now a count to jump to the nth input field
|
||||
|
||||
@@ -925,8 +925,10 @@ liberator.Events = function () //{{{
|
||||
// dump("=+++++++++=\n" + liberator.util.objectToString(event.target) + "\n")
|
||||
// dump (elem + ": " + win + "\n");//" - target: " + event.target + " - origtarget: " + event.originalTarget + " - expltarget: " + event.explicitOriginalTarget + "\n");
|
||||
|
||||
if (elem && elem instanceof HTMLInputElement &&
|
||||
(elem.type.toLowerCase() == "text" || elem.type.toLowerCase() == "password"))
|
||||
if (elem && (
|
||||
(elem instanceof HTMLInputElement && (elem.type.toLowerCase() == "text" || elem.type.toLowerCase() == "password")) ||
|
||||
(elem instanceof HTMLSelectElement)
|
||||
))
|
||||
{
|
||||
this.wantsModeReset = false;
|
||||
liberator.mode = liberator.modes.INSERT;
|
||||
|
||||
Reference in New Issue
Block a user