Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7232

print contact summary: odd behavior after redirect

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      when in the contact summary view, select actions > print summary
      then click print and proceed. after printing, the page redirects to the contact record, but the js/css doesn't fully load – the menu bar is missing or messed up.
      when in print view, the done button redirects to the same url and does load correctly. so something is going on when onclick=window.print() is triggered, followed by the form action redirect.

      i've tried several alternate configurations for handling the print + redirect, but they all experience the same thing. tested and confirmed on both drupal and joomla sandboxes, so i don't think it's a cms js/css optimization issue.

      one option is to just print and don't redirect (which one could argue is the expected behavior anyway). only the done button would redirect:
      onclick="window.print(); return false;"

      note, this is a different issue than #7196

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: