From f659c73ffab862e6f11bd855c80a01fd05453564 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 23 Jun 2026 11:47:06 -0500 Subject: [PATCH] fix(cache-module): fix AJAX URLs and simplify status bar markup Task URLs corrected to display.clearCache/display.clearTemp format. Removed custom CSS in favor of inline Bootstrap utilities. --- .../tmpl/default.php | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/source/packages/mod_mokosuiteclient_cache/tmpl/default.php b/source/packages/mod_mokosuiteclient_cache/tmpl/default.php index 4ea7e30d..3e6d57ec 100644 --- a/source/packages/mod_mokosuiteclient_cache/tmpl/default.php +++ b/source/packages/mod_mokosuiteclient_cache/tmpl/default.php @@ -11,32 +11,21 @@ defined('_JEXEC') or die; use Joomla\CMS\Session\Session; $token = Session::getFormToken(); -$cacheUrl = 'index.php?option=com_mokosuiteclient&task=clearCache&format=json'; -$tempUrl = 'index.php?option=com_mokosuiteclient&task=clearTemp&format=json'; +$cacheUrl = 'index.php?option=com_mokosuiteclient&task=display.clearCache&format=json'; +$tempUrl = 'index.php?option=com_mokosuiteclient&task=display.clearTemp&format=json'; $domain = $domain ?? ''; ?> - - -
+
- - | + + | - Clear: - + Cache - | - + | + Temp