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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user