use onclick event for printing instead of href to avoid side effects
This commit is contained in:
parent
2d1830b9b8
commit
930249e057
1 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,8 @@
|
|||
tal:condition="python: 'print' in pageActions"
|
||||
title="Print this page"
|
||||
i18n:attributes="title">
|
||||
<a href="javascript:print()">
|
||||
<a href="#"
|
||||
onclick="print(); return false;">
|
||||
<img tal:attributes="src string:$resourceBase/cybertools.icons/printer.png"
|
||||
i18n:attributes="alt"
|
||||
alt="Print" />
|
||||
|
|
Loading…
Add table
Reference in a new issue