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
+2 -2
View File
@@ -71,7 +71,7 @@ var RepoInvBarcodeJS = {
data_query: function(tipe){
if (tipe=="brow-produk"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/brow_produk',
sendParam: ['Cari_Produk'],
onSuccess: () => FoniaJS.setFocus('#Cari_Produk')
@@ -91,7 +91,7 @@ var RepoInvBarcodeJS = {
load_printer: function(){
qz.printers.find().then((data) => {
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/load_printer',
sendParam: ['Printer='+JSON.stringify(data),'DefPrint='+$('#configPrinter').html()]
}).send();