Commit 45d3c969 authored by Thomas Müller's avatar Thomas Müller
Browse files

On the login screen a warning will pop up if an unsupported/outdated browser is used

parent 1f7167a9
......@@ -31,6 +31,7 @@
"davclient.js": "https://github.com/evert/davclient.js.git#0.0.1",
"es6-promise": "https://github.com/jakearchibald/es6-promise.git#2.3.0",
"base64": "0.3.0",
"clipboard": "1.5.12"
"clipboard": "1.5.12",
"browser-update": "^2.0.1"
}
}
/**
* Copyright (c) 2017
* Thomas Müller <thomas.mueller@tmit.eu>
*
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
$(document).ready(function() {
// You can Customize here
window.$buoop = {
vs: { i: 10, f: 45, o: 0, s: 8, c: 45 },
reminder: 0, // after how many hours should the message reappear
test: false, // true = always show the bar (for testing)
newwindow: true, // open link in new window/tab
url: null, // the url to go to after clicking the notification
noclose:true // Do not show the "ignore" button to close the notification
};
var path = OC.filePath('core','vendor','browser-update/browser-update.js');
$.getScript(path);
});
\ No newline at end of file
<?php /** @var $l \OCP\IL10N */ ?>
<?php
vendor_script('jsTimezoneDetect/jstz');
//vendor_script('browser-update/browser-update');
script('core', [
'visitortimezone',
'lostpassword',
'login'
'login',
'browser-update'
]);
?>
......@@ -91,4 +93,4 @@ script('core', [
</ul>
</fieldset>
</form>
<?php }
<?php } ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment