Support

  1. pscarnegie
  2. Bug Report
  3. Wednesday, February 12 2020, 04:13 PM
Form won't display properly when in Chrome - get's displayed only in a 200px high scrolling box. Webtools shows the following errors:

registration:219 Uncaught TypeError: Cannot read property 'body' of null
at iFrameHeight160 (registration:219)
at HTMLIFrameElement.onload (registration:213)
iFrameHeight160 @ registration:219
onload @ registration:213
antiphishing.js:1 Sending APH request...
22registration:219 Uncaught TypeError: Cannot read property 'body' of null
at iFrameHeight160 (registration:219)
at registration:217
pscarnegie Accepted Answer
Your function:

function iFrameHeight160(iframe){var doc="contentDocument"in iframe?iframe.contentDocument:iframe.contentWindow.document;var height=parseInt(doc.body.scrollHeight);if(!document.all){iframe.style.height=parseInt(height)+60+"px"}else if(document.all&&iframe.id){document.all[iframe.id].style.height=parseInt(height)+20+"px"}}

is displaying the following error in Chrome's Web Tools:

registration:219 Uncaught TypeError: Cannot read property 'body' of null
at iFrameHeight160 (registration:219)
at registration:217
iFrameHeight160 @ registration:219
(anonymous) @ registration:217
References
  1. https://www.globaltraumaquality.org/registration
  1. more than a month ago
  2. Bug Report
  3. # 1
admin Accepted Answer
Admin
Hi,
there is something of strange, unfortunately the iframe uses a different domain (uses same domain but without www). So for example if you the link https://xxx.org/registration instead https://www.xxx.org/registration then you will see that there is not errors (the error comes from a browser security rule, the javascript from different domain is blocked)

The module uses a Joomla function called "JURI::base()" so it is correct, anyway you can have this behavior with different reason, for example the cache configuration. Have you enabled cache?
  1. more than a month ago
  2. Bug Report
  3. # 2
pscarnegie Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.