Refactor AJAX requests from Request.JSONF to Request_JSF across multiple scripts for consistency and improved functionality.
This commit is contained in:
@@ -70,7 +70,7 @@ var CekHargaJS = {
|
||||
|
||||
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 CekHargaJS = {
|
||||
|
||||
update_Sup: function(){
|
||||
if (parseInt($('#InvID').val()) == 0) return false;
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/update_sup',
|
||||
sendParam: ['InvID']
|
||||
}).send();
|
||||
|
||||
Reference in New Issue
Block a user