add reload page

This commit is contained in:
Your Name
2024-04-08 10:47:54 +03:00
parent d943894ae8
commit 29b0070260
2 changed files with 8 additions and 2 deletions

View File

@@ -154,13 +154,13 @@ $('#modalsavetodb').click(function(){
success: function(){
$('#getmodal').modal('hide')
getAllData();
vednumber.value = '';
kolvo.value = '';
balancenumber.value = '';
matcen.value = '';
rasp.value = '';
changeddata = [];
window.location.reload();
},
})
@@ -219,6 +219,7 @@ $('#modal2savetodb').click(function(){
rasp.value = '';
$('#addmodal').modal('hide')
window.location.reload()
},
@@ -252,4 +253,8 @@ $('#modal2close').click(function(){
} )
} )
$('#modal2').on('hidden.bs.modal', function () {
location.reload();
})