Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem with empty.html

    Hi,

    I am facing a problem with RichTextEdior items and the root cause is the code in empty.html.

    Our GWT application is embedded into an iFrame of a parent application.

    The parent application and the GWT application can run independently and have seperate URLs and deployed on seperate servers. Due to this Chrome is throwing "unsafe javascript attempt to access frame" error and none of the rich text editors are working.

    As a work around i have deleted all contents of empty.html and the editors work well now.

    Can you please let me know what is the purpose of this empty.html and whether deleting it can have any side-effects.

    I am using SmartGWTPower 3.0

    #2
    empty.html is used as a workaround for a WebKit issue related to creating the nested frame needed for rich text editing.

    It's possible this WebKit bug has subsequently been resolved in all versions you care about; if so, it might be OK to remove the contents of this file.

    Inside empty.html there is some code that should allow the file to connect across domains. We're not sure why this wouldn't work for you, but an upgrade to 3.1 might allow you to keep empty.html unchanged.

    Comment


      #3
      Thanks Isomorphic.

      Comment

      Working...
      X