mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #36780 from nextcloud/bugfix/noid/console-error-share-auth
This commit is contained in:
commit
95eeba83b6
2 changed files with 4 additions and 3 deletions
|
|
@ -47,6 +47,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
// Adds functionality to the request password button
|
||||
var passwordRequestButton = document.getElementById('request-password-button-not-talk');
|
||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
|
||||
if (passwordRequestButton) {
|
||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -43,8 +43,7 @@ class CSSResourceLocator extends ResourceLocator {
|
|||
*/
|
||||
public function doFind($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')
|
||||
) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue