mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user