Loading...
 
Skip to main content

Printing page produce an empty document on Safari and Chrome, work on Firefox

Status
Closed
Subject
Printing page produce an empty document on Safari and Chrome, work on Firefox
Version
21.x
21.x Regression
Category
  • Bug
Feature
Print
Resolution status
Works For Me
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

I have a pluginList that produce a listing.
I need to print this listing and to print only the data, the table I use "d-print-none" class on the customSearch template, and other buttons bar (custom and Tiki).

I use a small jq script and a nice button

jq
Copy to clipboard
{jq} $('.print-button').on('click', function() { window.print(); return false; }); {/jq}
html
Copy to clipboard
<a href="#icon-print" class="print-button m-1"><i class="fas fa-print"></i> </a>


It work fine on Firefox but not on Chrome and Safari.
Image
Image

May not directly related to Tiki... but it used to work.

Solution
Can’t say but it is working again...
Importance
3
Easy to solve?
5
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7308
Created
Wednesday 04 March, 2020 15:54:42 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 10 March, 2020 19:29:37 UTC


Show PHP error messages