public function act_ajax()
{
/**
* Triggers the ajax plugin action for the context.
*
* @see AjaxHandler::act_ajax()
* @action ajax_{$context}
*/
Plugins::act('ajax_' . $this->handler_vars['context'], $this);
// if this is the locale context, serve the locale javascript
if ($this->handler_vars['context'] == 'locale') {
$this->locale_js();
}
}