Apache Cordova
  1. Apache Cordova
  2. CB-98

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: iOS
    • Environment:

      Mac OS X Lion
      Xcode 4.2.1
      PhoneGap 1.2.0

      Description

      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

        Activity

        Shazron Abdullah made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3.0 [ 12319167 ]
        Fix Version/s 2.0.0 [ 12318875 ]
        Resolution Fixed [ 1 ]
        Patrick Frye created issue -

          People

          • Assignee:
            Shazron Abdullah
            Reporter:
            Patrick Frye
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development