Auto Close not working (with solution)

More
6 years 4 months ago #974 by fhalckon
Hello

1) Sorry i'm not an english native speaker ;)
2) I found a little mistake that preven the popup to autoclose:

In the mod-popup-jt.php, line 239
Code:
open: function(event, ui){ setTimeout("jQuery('#popup').popup('close')",<?php echo $params->get( 'time_to_close' );?>);

Should be dialog('close') instead of popup('close'):
Code:
open: function(event, ui){ setTimeout("jQuery('#popup').dialog('close')",<?php echo $params->get( 'time_to_close' );?>);

An suggestion is also, to set it to show once / session:
See other post

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #977 by admin
Thanks for contribution

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #978 by admin
Auto close bug fixed and new updated version uploaded. Thanks for bug report.
Last edit: 6 years 4 months ago by admin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.238 seconds