Skip to content

Commit

Permalink
Fix: Updated mod_astroid_clear_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
YGomiero committed Nov 26, 2024
1 parent f7f8110 commit 88a8af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/mod_astroid_clear_cache/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jQuery(function($){
},
success: function (response) {
if (response.status === 'success') {
$.notify("Astroid Cache Cleared.", "success");
$.notify(Joomla.JText._('MOD_ASTROID_SYSTEM_MESSAGES_CACHE'), "success");
$.ajax({
url: "index.php?option=com_ajax&astroid=clear-joomla-cache",
success: function (response) {
if (response.status === 'success') {
$.notify("Joomla Cache Cleared.", "success");
$.notify(Joomla.JText._('MOD_ASTROID_MESSAGE_JOOMLA_CACHE'), "success");
$this.find('.icon-refresh').removeClass('icon-spin');
}
}
Expand Down

0 comments on commit 88a8af6

Please sign in to comment.