From 29c0de6937d84593c89aa6f77d23dd69480fe909 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Thu, 18 Oct 2007 15:46:30 +0000 Subject: [PATCH] prototype: Make submitting forms work in Opera < 9.1. --- CHANGELOG | 2 ++ src/prototype.js | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 59b8f25..5867df3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make submitting forms work in Opera < 9.1. Closes #9917, #9463, #8260. [kangax] + * Fix template evaluation with empty replacements. Closes #9692. [Ryan McGeary] * Hash#toTemplateReplacements is an alias for Hash#toObject so you can once again pass hashes to Template#evaluate and String#interpolate. [sam] diff --git a/src/prototype.js b/src/prototype.js index 6ba0413..e4bb823 100644 --- a/src/prototype.js +++ b/src/prototype.js @@ -15,6 +15,7 @@ var Prototype = { XPath: !!document.evaluate, ElementExtensions: !!window.HTMLElement, SpecificElementExtensions: + document.createElement('div').__proto__ && document.createElement('div').__proto__ !== document.createElement('form').__proto__ },