From d7da841c803860512d021bc9148ed12376067a58 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sat, 11 Aug 2007 18:14:20 +0000 Subject: [PATCH] prototype: Restrict Event.DOMEvents to include only events that can be supported in all browsers --- CHANGELOG | 2 ++ src/event.js | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index dbea7be..ebbea1b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Restrict Event.DOMEvents to include only events that can be supported in all browsers. [sam] + * Fix a failing test in base.html in Safari 2. [Tobie Langel] * Fix Element#positionedOffset and Element#getOffsetParent for static elements on IE. [Thomas Fuchs] diff --git a/src/event.js b/src/event.js index 850772d..81ed165 100644 --- a/src/event.js +++ b/src/event.js @@ -19,11 +19,7 @@ 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', - 'DOMFocusIn', 'DOMFocusOut', 'DOMActivate', - 'DOMSubtreeModified', 'DOMNodeInserted', - 'NodeInsertedIntoDocument', 'DOMAttrModified', - 'DOMCharacterDataModified'], + 'select', 'change', 'submit', 'reset', 'focus', 'blur'], cache: { },