Changeset 1248 for trunk/autoquest-htmlmonitor
- Timestamp:
- 07/02/13 13:30:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js
r1247 r1248 73 73 //{ "tag": "blockquote", "actions": [ ] }, 74 74 { "tag": "body", "actions": [ "onclick", 75 "onkeydown", 75 76 "onpagehide", 76 77 "onpageshow", … … 597 598 598 599 eventType = eventName.toLowerCase(); 600 601 // filter onkeydown events, which are not of interest 602 if ((eventType === "onkeydown") && (node === document.body)) { 603 // do not handle key downs on the body which are other than tabs (keycode 9) 604 if (event.keyCode !== 9) { 605 return; 606 } 607 } 599 608 600 609 // check, if the preceeding event is more concrete, i.e. the new event to be handled is only … … 612 621 return; 613 622 } 614 else if (event Name !== "onscroll") {623 else if (eventType !== "onscroll") { 615 624 // we have the same event on the same element. If it is an onscroll, we should 616 625 // reuse it. But it is not an onscroll. So we ignore the existing event.
Note: See TracChangeset
for help on using the changeset viewer.