{"action":"created","issue":{"url":"https://api.github.com/repos/WebCabin/wcDocker/issues/28","labels_url":"https://api.github.com/repos/WebCabin/wcDocker/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/WebCabin/wcDocker/issues/28/comments","events_url":"https://api.github.com/repos/WebCabin/wcDocker/issues/28/events","html_url":"https://github.com/WebCabin/wcDocker/issues/28","id":59648493,"number":28,"title":"iFrame panels not working in Firefox","user":{"login":"dpage","id":316438,"avatar_url":"https://avatars.githubusercontent.com/u/316438?v=3","gravatar_id":"","url":"https://api.github.com/users/dpage","html_url":"https://github.com/dpage","followers_url":"https://api.github.com/users/dpage/followers","following_url":"https://api.github.com/users/dpage/following{/other_user}","gists_url":"https://api.github.com/users/dpage/gists{/gist_id}","starred_url":"https://api.github.com/users/dpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpage/subscriptions","organizations_url":"https://api.github.com/users/dpage/orgs","repos_url":"https://api.github.com/users/dpage/repos","events_url":"https://api.github.com/users/dpage/events{/privacy}","received_events_url":"https://api.github.com/users/dpage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-03T14:26:40Z","updated_at":"2015-03-05T17:25:33Z","closed_at":null,"body":"I have a number of iFrame panels in my app, which work fine in Chrome and Safari but remain blank in Firefox. They are being built like so:\r\n\r\n```javascript\r\n// Build an iFrame dock panel\r\nfunction buildIFramePanel(docker, name, title, width, height, showTitle, isCloseable, isPrivate, url) {\r\n    docker.registerPanelType(name, {\r\n        title: title,\r\n        isPrivate: isPrivate,\r\n        onCreate: function(myPanel) {\r\n            myPanel.initSize(width, height);\r\n            \r\n            if (showTitle == false) \r\n                myPanel.title(false);\r\n\r\n            myPanel.closeable(isCloseable);\r\n\r\n            var $frameArea = $('<div style=\"width:100%;height:100%;position:relative;\">');\r\n            myPanel.layout().addItem($frameArea);\r\n            \r\n            var iFrame = new wcIFrame($frameArea, myPanel);\r\n            iFrame.openURL(url);\r\n        }\r\n    });\r\n}\r\n```\r\n\r\nThe result looks as follows:\r\n![screen shot 2015-03-03 at 14 19 33](https://cloud.githubusercontent.com/assets/316438/6464277/1b88768c-c1b1-11e4-8c35-7e9f5fd4600d.png)\r\n![screen shot 2015-03-03 at 14 19 37](https://cloud.githubusercontent.com/assets/316438/6464285/24956190-c1b1-11e4-8e6c-093016a8ff8d.png)"},"comment":{"url":"https://api.github.com/repos/WebCabin/wcDocker/issues/comments/77408206","html_url":"https://github.com/WebCabin/wcDocker/issues/28#issuecomment-77408206","issue_url":"https://api.github.com/repos/WebCabin/wcDocker/issues/28","id":77408206,"user":{"login":"Lochemage","id":1714109,"avatar_url":"https://avatars.githubusercontent.com/u/1714109?v=3","gravatar_id":"","url":"https://api.github.com/users/Lochemage","html_url":"https://github.com/Lochemage","followers_url":"https://api.github.com/users/Lochemage/followers","following_url":"https://api.github.com/users/Lochemage/following{/other_user}","gists_url":"https://api.github.com/users/Lochemage/gists{/gist_id}","starred_url":"https://api.github.com/users/Lochemage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lochemage/subscriptions","organizations_url":"https://api.github.com/users/Lochemage/orgs","repos_url":"https://api.github.com/users/Lochemage/repos","events_url":"https://api.github.com/users/Lochemage/events{/privacy}","received_events_url":"https://api.github.com/users/Lochemage/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T17:25:33Z","updated_at":"2015-03-05T17:25:33Z","body":"Dave,\n\nI've just tried both those pages on a local build of my demo page and it\nseems to work on FF.\n\n\n​\n\n​\n\n- Lochemage\n\nOn Thu, Mar 5, 2015 at 9:13 AM, Dave Page <notifications@github.com> wrote:\n\n> Hi,\n>\n> The content being used in the screenshots is the Sphinx generated\n> documentation that is served from my app. If you're brave you can find the\n> complete code in the web/ directory at\n> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary, but beware it\n> is a very early incarnation of what will be a large and complex app. The JS\n> that creates the panels is here:\n> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=blob;f=web/pgadmin/browser/templates/browser/js/browser.js;h=258d450f6d405d59ad44ccb014086c47093f1811;hb=caff78053b48a15579e987fa58decca3e82e1976\n>\n> However... I see exactly the same problem with other panels I have which\n> load either http://www.pgadmin.org/ or http://www.postgresql.org/, so I'm\n> fairly sure it's not a content issue, but either something wrong with my\n> code, a Firefox bug, or a wcDocker bug.\n>\n> I'm happy to provide any further info you may need, or can run any tests\n> etc. if you like.\n>\n> Thanks.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/WebCabin/wcDocker/issues/28#issuecomment-77405866>.\n>\n"}}