Dashboard weiter ausgebaut
This commit is contained in:
17
js/components/admin_parameter.js
Normal file
17
js/components/admin_parameter.js
Normal file
@ -0,0 +1,17 @@
|
||||
function onClickSaveParameter() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '../controller/admin_parameter.php',
|
||||
data: {
|
||||
'function': 'saveParameter'
|
||||
},
|
||||
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 = "?";
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user