Menu

Fix chrome browser can't view difference record bug when approving gedcom file modification

Help
xiaofo
2018-11-08
2018-11-10
  • xiaofo

    xiaofo - 2018-11-08

    Fix chrome browser can't view difference record bug when approving gedcom file modification:
    55 line,
    window.opener.location = diffurl;
    change into:
    window.opener.document.location.href = diffurl;

     
  • Gerry Kroll

    Gerry Kroll - 2018-11-08

    This change appears to apply to the script edit_changes.php

    Exactly WHAT problem are you encountering when you're trying to view differences while approving changes?

    Chrome and Firefox work just fine for me. The only problem I see is that the Approve Changes panel obscures part of the record being displayed when you click on the View Diff button.

     
    • xiaofo

      xiaofo - 2018-11-10

      Yes, when I click on Google Chrome to see the difference, nothing happens. I found through Google search that I need to change the code to what I provided in the article.When I looked at the change difference, I found that the record before the change was a red square, and the record was a blue border after the change.

      I hope you can also fix the relationship privacy settings in gedcom privacy。If relational privacy is enabled, the relationship privacy restriction is turned off in user management, it does not work.

       

      Last edit: xiaofo 2018-11-10
      • Gerry Kroll

        Gerry Kroll - 2018-11-10

        The behaviour you describe (red and blue box) is correct. That's what is supposed to happen.

        My copy of Chrome works perfectly without the modification you recommend. Likewise for Firefox, Safari, Internet Explorer, and Opera.

        I'm not going to implement your code change, since I am not able to reproduce your problem.

        However, I'll look into changing the code so that JavaScript is not used to call up the display of the changed record. I don't see that the use of JavaScript is necessary here. A simple clickable link should be sufficient.

         
  • Gerry Kroll

    Gerry Kroll - 2018-11-08

    I have noticed that when reviewing changes, PhpGedView does not display the changed GEDCOM record. Instead, it displays the original (unchanged) GEDCOM record.

    This will be fixed soon, by replacing gedrecord.php

     

Log in to post a comment.