From f86ac770d485b5f10c39e3016e93afc7dfa50981 Mon Sep 17 00:00:00 2001 From: Thomas Fuchs Date: Tue, 14 Aug 2007 12:05:20 +0000 Subject: [PATCH] Prototype: Add contextmenu to Event.DOMEvents. --- CHANGELOG | 2 ++ src/event.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 580f1f4..3a63889 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Add contextmenu to Event.DOMEvents. [Thomas Fuchs] + * Fix readAttribute-related failure in form.html in IE. [sam, Andrew Dupont] * Fix failing dom.html and selector.html tests in IE. [Tobie Langel, Andrew Dupont] diff --git a/src/event.js b/src/event.js index 3cac071..eba3da7 100644 --- a/src/event.js +++ b/src/event.js @@ -19,7 +19,8 @@ Object.extend(Event, { DOMEvents: ['click', 'dblclick', 'mousedown', 'mouseup', 'mouseover', 'mousemove', 'mouseout', 'keypress', 'keydown', 'keyup', 'load', 'unload', 'abort', 'error', 'resize', 'scroll', - 'select', 'change', 'submit', 'reset', 'focus', 'blur'], + 'select', 'change', 'submit', 'reset', 'focus', 'blur', + 'contextmenu'], cache: { },