function addStylesheet($file, $ext = '.css', $template = false)
{
$url = $this->api->locateURL('css', $file . $ext);
if (!$this->atk4_initialised || $template) {
return parent::addStylesheet($file, $ext);
}
parent::addOnReady('$.atk4.includeCSS("' . $url . '")');
}