// Adds functionality to the request password button | // Adds functionality to the request password button | ||||
var passwordRequestButton = document.getElementById('request-password-button-not-talk'); | var passwordRequestButton = document.getElementById('request-password-button-not-talk'); | ||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm); | |||||
if (passwordRequestButton) { | |||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm); | |||||
} | |||||
}); | }); |
*/ | */ | ||||
public function doFind($style) { | public function doFind($style) { | ||||
$app = substr($style, 0, strpos($style, '/')); | $app = substr($style, 0, strpos($style, '/')); | ||||
if (strpos($style, '3rdparty') === 0 | |||||
&& $this->appendIfExist($this->serverroot, $style.'.css') | |||||
if ($this->appendIfExist($this->serverroot, $style.'.css') | |||||
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') | || $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') | ||||
) { | ) { | ||||
return; | return; |