mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-11 13:16:06 +02:00
Merge pull request #571 from nextcloud/import-jstimezonedetect
Import jstz.min.js from jstimezonedetect 1.0.7
This commit is contained in:
commit
3f1c676345
2
js/vendor/jstz.min.js
vendored
Normal file
2
js/vendor/jstz.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -84,6 +84,7 @@ class Application extends App {
|
||||||
$timezoneDB = $config->getUserValue($user->getUID(), 'core', 'timezone', '');
|
$timezoneDB = $config->getUserValue($user->getUID(), 'core', 'timezone', '');
|
||||||
|
|
||||||
if ($timezoneDB === '' || !$session->exists('timezone')) {
|
if ($timezoneDB === '' || !$session->exists('timezone')) {
|
||||||
|
\OCP\Util::addScript('user_saml', 'vendor/jstz.min');
|
||||||
\OCP\Util::addScript('user_saml', 'timezone');
|
\OCP\Util::addScript('user_saml', 'timezone');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue