Features / Usability

Features / Usability

Where to place a jquery unload function

posts: 38 Germany

Hi all,

I have a random issue which blocks the normal working with our tiki deployment.

I realise that removing the 'javascript_enabled' cookie the problem disappears.

Therefore I would like to put the following code, so that by log out this cookie is removed.

$(window).unload(function() {

I'm not sure where to place this code. I think the best place could be templates/modules/mod-login_box.tpl

Have you any suggestion ?

Thank you in advance and best regards,

posts: 38 Germany
Thank you Rick, I followed your suggestion.