diff --git a/modules/backend/classes/Controller.php b/modules/backend/classes/Controller.php index bdb91acb7..3410281e2 100644 --- a/modules/backend/classes/Controller.php +++ b/modules/backend/classes/Controller.php @@ -555,6 +555,13 @@ class Controller extends Extendable } } + /* + * Generic handler that does nothing + */ + if ($handler == 'onAjax') { + return true; + } + return false; } diff --git a/modules/cms/classes/Controller.php b/modules/cms/classes/Controller.php index 5c6fdbdc0..8d9e9a9d7 100644 --- a/modules/cms/classes/Controller.php +++ b/modules/cms/classes/Controller.php @@ -723,6 +723,13 @@ class Controller } } + /* + * Generic handler that does nothing + */ + if ($handler == 'onAjax') { + return true; + } + return false; }