Server : Apache System : Linux webm012.cluster129.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : eventfrsgx ( 61451) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/eventfrsgx/www/media/plg_quickicon_eos310/js/ |
/**
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
(function ($)
{
$(document).ready(function ()
{
var ajaxData = {
'option' : 'com_ajax',
'group' : 'quickicon',
'plugin' : 'SnoozeEOS',
'format' : 'json'
}
$('#system-message-container').on('click', '.eosnotify-snooze-btn', function(e)
{
var button=$(this);
$.getJSON('index.php', ajaxData, function(response)
{
if (response.success)
{
button.closest('.alert').find('[data-dismiss="alert"]').click();
}
}
);
e.preventDefault();
});
});
})(jQuery);