Jquery upgrade (#12802)

* WIP js upgrades

* trying 3.0

* Event handler changes

* fix alert rule collection loading

* blur fix

* jQuery 3.5
homescreen no warnings

* actually 3.6 include js

* Update bootstrap to 3.4.1

* missed file

* Update and test install process

* cleanup

* attempt to version js files that were updated.
This commit is contained in:
Tony Murray
2021-05-11 08:08:06 -05:00
committed by GitHub
parent fff8b8e832
commit 3d62be5003
107 changed files with 350 additions and 14488 deletions

View File

@@ -195,7 +195,7 @@ if (Auth::user()->hasGlobalAdmin()) {
new QRCode(document.getElementById("qrcode"), token_hash);
});
$('#token-removal').click('', function(event) {
$('#token-removal').on("click", function(event) {
event.preventDefault();
token_id = $("#token_id").val();
$.ajax({
@@ -213,7 +213,7 @@ if (Auth::user()->hasGlobalAdmin()) {
}
});
});
$('#token-create').click('', function(event) {
$('#token-create').on("click", function(event) {
event.preventDefault();
$.ajax({
type: "POST",
@@ -232,7 +232,7 @@ if (Auth::user()->hasGlobalAdmin()) {
}
});
});
$('#pass-gen').click('', function(event) {
$('#pass-gen').on("click", function(event) {
event.preventDefault();
token = $.password(32,false);
$('#token').val(token);