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

@@ -466,7 +466,7 @@ if ($count < 1) {
$("[data-toggle='modal'], [data-toggle='popover']").popover({
trigger: 'hover'
});
$('#ack-alert').click('', function(e) {
$('#ack-alert').on("click", function(e) {
event.preventDefault();
var alert_id = $(this).data("alert_id");
$.ajax({
@@ -538,12 +538,12 @@ $('input[name="alert-rule"]').on('switchChange.bootstrapSwitch', function(event
function updateResults(results) {
$('#results_amount').val(results.value);
$('#page_number').val(1);
$('#result_form').submit();
$('#result_form').trigger( "submit" );
}
function changePage(page,e) {
e.preventDefault();
$('#page_number').val(page);
$('#result_form').submit();
$('#result_form').trigger( "submit" );
}
</script>