Commit b3462fee authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #26967 from owncloud/browser-warning

On the login screen a warning will pop up if an unsupported/outdated browser is used
parents ec3cd8da c1ae4565
......@@ -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
......@@ -4,7 +4,8 @@ vendor_script('jsTimezoneDetect/jstz');
script('core', [
'visitortimezone',
'lostpassword',
'login'
'login',
'browser-update'
]);
?>
......
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