diff --git a/CHANGELOG b/CHANGELOG index 972d389..1f0d6ff 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Temporary workaround for Prototype.BrowserFeatures.SpecificElementExtensions incorrectly evaluating to true on iPhone. (needs further investigation) [sam] + * The action for Form#request defaults to the current URL if the "action" attribute is empty. (This is what most of the major browsers do.) Fixes #8483. [Tomas, Mislav Marohnić] * In form serialization, change the way submit buttons are handled. Previously all submit buttons were serialized; now Prototype serializes only the first one. Change Form#serialize and Form.serializeElements to accept a params hash. With the "hash: false" option, a serialized string is returned instead of the hash data object. With the "submit: 'foo'" option, only the submit button with the name "foo" is serialized. References #5031. [Mislav Marohnić] diff --git a/src/prototype.js b/src/prototype.js index 6e86083..9ff3816 100644 --- a/src/prototype.js +++ b/src/prototype.js @@ -14,6 +14,7 @@ var Prototype = { XPath: !!document.evaluate, ElementExtensions: !!window.HTMLElement, SpecificElementExtensions: + navigator.userAgent.indexOf('iPhone') == -1 && (document.createElement('div').__proto__ !== document.createElement('form').__proto__) },