mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:38:00 +01:00
nsIDOMXULTreeElement ⊄ <input elements> for now.
This commit is contained in:
@@ -135,6 +135,9 @@ var ProcessorStack = Class("ProcessorStack", {
|
|||||||
if (result === Events.PASS_THROUGH || result === Events.PASS && this.passUnknown)
|
if (result === Events.PASS_THROUGH || result === Events.PASS && this.passUnknown)
|
||||||
events.passing = true;
|
events.passing = true;
|
||||||
|
|
||||||
|
if (result === Events.PASS_THROUGH && this.keyEvents.length)
|
||||||
|
events.dbg("PASS_THROUGH:\n\t" + this.keyEvents.map(function (e) [e.type, events.toString(e)]).join("\n\t"));
|
||||||
|
|
||||||
if (result === Events.PASS_THROUGH)
|
if (result === Events.PASS_THROUGH)
|
||||||
events.feedevents(null, this.keyEvents, { skipmap: true, isMacro: true, isReplay: true });
|
events.feedevents(null, this.keyEvents, { skipmap: true, isMacro: true, isReplay: true });
|
||||||
else {
|
else {
|
||||||
@@ -1623,7 +1626,7 @@ var Events = Module("events", {
|
|||||||
isinstance(elem, [HTMLEmbedElement,
|
isinstance(elem, [HTMLEmbedElement,
|
||||||
HTMLObjectElement, HTMLSelectElement,
|
HTMLObjectElement, HTMLSelectElement,
|
||||||
HTMLTextAreaElement,
|
HTMLTextAreaElement,
|
||||||
Ci.nsIDOMXULTreeElement, Ci.nsIDOMXULTextBoxElement]) ||
|
Ci.nsIDOMXULTextBoxElement]) ||
|
||||||
elem instanceof Window && Editor.getEditor(elem);
|
elem instanceof Window && Editor.getEditor(elem);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user