[jira] [Closed] (OFBIZ-5968) framework/images/webapp/images/fieldlookup.js throws a javascript error in google chrome from a link to ofbiz from another site

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-5968) framework/images/webapp/images/fieldlookup.js throws a javascript error in google chrome from a link to ofbiz from another site

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-5968.
----------------------------------
    Resolution: Fixed

Thanks Gareth,

Your patch is in
trunk r1652731  
R14.12 r1652732
R13.07 r1652733
R12.04 r1652735

You used tabs instead of spaces, but since this file contains so much tabs wich were introduced by r1352861, I decided I will change that in all releases and trunk.




> 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: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Gareth Carter
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         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)