Systemerweiterungen

This commit is contained in:
aschwarz
2023-03-27 15:17:34 +02:00
parent df4a7e1a04
commit 22af684296
810 changed files with 73840 additions and 114339 deletions

View File

@ -1,17 +1,22 @@
function onClickSaveParameter() {
var inputs = $(":input").serializeArray()
inputs = JSON.stringify(inputs)
$.ajax({
type: 'POST',
url: '../controller/admin_parameter.php',
data: {
'function': 'saveParameter'
'function': 'saveParameter',
'inputs': inputs
},
success: function(result) {
alert(result);
// document.getElementById("del").innerHTML = "<strong>entfernt</strong>";
//Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht
$(document).ajaxStop(function(){
window.location = "?";
});
success: function(result) { //we got the response
if(result!=''){
var a = result.split('|***|');
$('#msg').show().delay(5000).fadeOut(500);
$('#msg').html(a[0]);
}
},
error: function(xhr, status, exception) {
console.log(xhr);
}
});
}