Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Just a heads up!
After the latest update, if you generate an new chat HTML code and enter a domain, the code generated is incorrect!
Example:
[== JavaScript ==]
<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500',domain:'domain.nl'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var refferer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//www.domain.nl/chat/index.php/nld/chat/getstatus/(click)/internal/(position)/middle_left/(ma)/br/(check_operator_messages)/true/(top)/270/(units)/pixels/(leaveamessage)/true/(identifier)/partycorp/(theme)/1?r='+refferer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
In the 3th line after popup_width:500' the ' is suppose not to be there!
So the widget does not work!
Last edited by djremcop (2014-08-18 13:13:52)
Regards,
Remco
IT Manager at PartyCorner.nl
Offline
Fixed in master now.
Big thanks!!!
Offline
Pages: 1