[
https://issues.apache.org/jira/browse/OFBIZ-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281748#comment-14281748 ]
Jacques Le Roux commented on OFBIZ-5968:
----------------------------------------
BTW, I considered this a bug, so backported.
> framework/images/webapp/images/fieldlookup.js throws a javascript error in google chrome from a link to ofbiz from another site
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5968
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5968> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Gareth Carter
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: fieldlookup.patch
>
>
> When you link to your ofbiz installation from another site using _blank as the target and protocol is changing from http to https, google chrome will throw an error -
> Blocked a frame with origin "
https://ofbiz.company.com" from accessing a frame with origin "
http://other.company.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
> This error may prevent other javascript from executing (this has caused, in our ofbiz installation, datetimepickers from working properly)
> The line number causing the issue is 687 as of revision 1652020
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)