Scolpy Posted March 11, 2010 Share Posted March 11, 2010 Hello! I have WHMCS 4.2.1 and I saw that there is wrong code in clientareacontacts.tpl template. line 18 <script langauge="JavaScript"> function deleteContact() {ldelim} if (confirm("{$LANG.clientareadeletecontactareyousure}")) {ldelim} window.location='clientarea.php?action=contacts&delete=true&id={$contactid}'; {rdelim}{rdelim} </script> you wrote langauge instead of language. Anyway, I suggest you to add the new definition for javascript tag: <script language="JavaScript" type="text/javascript"> function deleteContact() {ldelim} if (confirm("{$LANG.clientareadeletecontactareyousure}")) {ldelim} window.location='clientarea.php?action=contacts&delete=true&id={$contactid}'; {rdelim}{rdelim} </script> Yonatan. 0 Quote Link to comment Share on other sites More sharing options...
jnet Posted March 11, 2010 Share Posted March 11, 2010 I fixed mine Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted March 12, 2010 WHMCS CEO Share Posted March 12, 2010 Thanks for the report. Shouldn't cause any real problems but this has now been corrected, and updated in the download zip. Matt 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.