Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7157

Show
Ignore:
Timestamp:
06/30/07 16:38:18 (1 year ago)
Author:
sam
Message:

prototype: Temporary workaround for Prototype.BrowserFeatures.SpecificElementExtensions incorrectly evaluating to true on iPhone.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/trunk/CHANGELOG

    r7140 r7157  
    11*SVN* 
     2 
     3* Temporary workaround for Prototype.BrowserFeatures.SpecificElementExtensions incorrectly evaluating to true on iPhone. (needs further investigation)  [sam] 
    24 
    35* 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ć] 
  • spinoffs/prototype/trunk/src/prototype.js

    r7014 r7157  
    1515    ElementExtensions: !!window.HTMLElement, 
    1616    SpecificElementExtensions:  
     17      navigator.userAgent.indexOf('iPhone') == -1 && 
    1718      (document.createElement('div').__proto__ !==  
    1819       document.createElement('form').__proto__)