Refactor AJAX requests from Request.JSONF to Request_JSF across multiple scripts for consistency and improved functionality.
This commit is contained in:
@@ -52,7 +52,7 @@ var TopupJS = {
|
||||
$('#Jumlah').focus();
|
||||
return;
|
||||
}
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/table_detail',
|
||||
sendParam: ['mode_detail=insert','Tgl_Depo','Jumlah','Bank'],
|
||||
onSuccess: () => FoniaJS.closeWindow(this.winDetail)
|
||||
@@ -61,7 +61,7 @@ var TopupJS = {
|
||||
|
||||
data_query: function(tipe){
|
||||
if (tipe=="tabel-detail"){
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/table_detail',
|
||||
sendParam: ['Cari_Topup']
|
||||
}).send();
|
||||
|
||||
Reference in New Issue
Block a user