diff --git a/op/op.Ajax.php b/op/op.Ajax.php index 9a3c07290..b57372089 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -1574,5 +1574,13 @@ switch($command) { } } break; /* }}} */ + default: + if(isset($GLOBALS['SEEDDMS_HOOKS']['ajax'])) { + foreach($GLOBALS['SEEDDMS_HOOKS']['ajax'] as $hookObj) { + if (method_exists($hookObj, 'runcommand')) { + $ret = $hookObj->runcommand($command, $request, $dms, $settings); + } + } + } + } -?>