livehelperchat icon indicating copy to clipboard operation
livehelperchat copied to clipboard

Content security policy

Open MKI-Miro opened this issue 7 years ago • 2 comments

There is a problem when CSP is enabled.

Please change all onclick="..." to javascript.

You can see problem here: https://www.puzzlemania.sk You are no able to close chat window.

MKI-Miro avatar Oct 14 '17 13:10 MKI-Miro

Any update about this ? currently still cannot close contact form and fix is very quick... please :)

MKI-Miro avatar Nov 10 '17 07:11 MKI-Miro

How to fix:

  1. open we_where_substatus_tpl
  2. add if(e.target && e.target.id== 'lhc_need_help_close'){ lh_inst.lhc_need_help_hide(); } 3.remove onclick="return lh_inst.lhc_need_help_hide();"

MKI-Miro avatar Nov 10 '17 08:11 MKI-Miro