primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,31 @@
/**
* @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);

View File

@ -0,0 +1 @@
!function(n){n(document).ready(function(){var o={option:"com_ajax",group:"quickicon",plugin:"SnoozeEOS",format:"json"};n("#system-message-container").on("click",".eosnotify-snooze-btn",function(e){var t=n(this);n.getJSON("index.php",o,function(n){n.success&&t.closest(".alert").find('[data-dismiss="alert"]').click()}),e.preventDefault()})})}(jQuery);