iframe dynamically generated in javascript opens safari on iOS with PG 1.2.0
----------------------------------------------------------------------------

                 Key: CB-98
                 URL: https://issues.apache.org/jira/browse/CB-98
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.1.0
         Environment: Mac OS X Lion
Xcode 4.2.1
PhoneGap 1.2.0
            Reporter: Patrick Frye
            Assignee: Shazron Abdullah
             Fix For: 2.0.0


I'm uncertain if my issue is related to this one:

http://webcache.googleusercontent.com/search?q=cache:pxZoAitrtjMJ:https://github.com/phonegap/phonegap-iphone/issues/296+Fixed+%23296+iFrames+open+in+Mobile+Safari&cd=1&hl=de&ct=clnk&gl=de

Comments in other threads indicated this issue was supposedly fixed in 1.2.0? 
Like the poster in the above thread my ExternalHosts has a string with "*". I 
generate via javascript and innerHTML the iframe HTML5 code because I want the 
window to switch between pages based upon in-App buttons. The code works 
perfectly with Android (see the news and events pages on Space Coast Mobile 
Directory on Android Market to see what I'm doing).

The code for my app, within a javascript:

document.getElementById("newsFrame").innerHTML = "<iframe 
src='http://www.spacecoastitsolutions.com/SCBMD/news"; + curPage + ".html' 
scrolling='no' class='ne'></iframe>";

Within the body:

<div id="newsFrame" style="text-align:center;"></div>

P.S. The "Affects Verion/s" dropdown didn't have an option for 1.2.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to