Refactor AJAX requests from Request.JSONF to Request_JSF across multiple scripts for consistency and improved functionality.

This commit is contained in:
2026-11-01 13:11:40 +07:00
parent 52897c25c5
commit 7a585ab7c2
58 changed files with 200 additions and 200 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ var MenuGrupJS = {
detail_hapus: function(acell){
FoniaJS.showConfirm("Konfirmasi", "Yakin akan hapus "+acell[1]+"?", function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['mode=del','Grup_MenuID='+acell[0],'Cari_Grup'],
onSuccess: () => FoniaJS.showInfo('Proses hapus data sukses!')
@@ -59,7 +59,7 @@ var MenuGrupJS = {
},
detail_save: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['mode','Grup_MenuID','Nama_Grup','Ket','Aktif','Cari_Grup'],
onSuccess: () => {
@@ -120,7 +120,7 @@ var MenuGrupJS = {
},
data_query: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['Cari_Grup'],
}).send()
+1 -1
View File
@@ -174,7 +174,7 @@ var OperatorJS = {
data_query: function(tipe, mode){
if (tipe=="detail"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['Filter_Level','Cari_User']
}).send()
+1 -1
View File
@@ -52,7 +52,7 @@ var PrinterJS = {
}
}).send();
} else if (tipe=='brow-cabang'){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/brow_cabang',
}).send();
}
+1 -1
View File
@@ -28,7 +28,7 @@ var SuperJS = {
},
data_query: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
}).send();
}