update 2023-05-23

This commit is contained in:
2023-05-23 16:21:14 +07:00
parent b64325d3c6
commit 8e7d327a4f
4 changed files with 68 additions and 11 deletions
+7 -3
View File
@@ -4,7 +4,7 @@
Desc. : JS - Fonia Custom Class v3
Created By : Siau Pheng ([email protected]).
Created Date : June 19th, 2009.
Last Modified : March 24th, 2023.
Last Modified : May 15th, 2023.
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
@@ -414,9 +414,12 @@ var FoniaJS = {
var tmp_array = aparam;
tmp_array.push('SID=' + parseInt(Math.random() * 99999999));
$('input').each(function() {
if (this.id.indexOf('_db')!==-1 || this.id.indexOf('_cbox')!==-1){
if (this.id.indexOf('_db')!==-1){
tmp_array.push(this.id);
}
if (this.id.indexOf('_cbox')!==-1){
tmp_array.push(this.id + '=' + this.value);
}
});
$.each(tmp_array, function(i, nilai) {
if (typeof nilai === "string") {
@@ -838,7 +841,8 @@ Request.JSONF = function(options){//oke
if (val[0].checkbox) {
_tbtn1 += '<div><input class="form-check-input" type="checkbox" id="_cbox_'+val[0].checkbox.field+'" value="'+val[0].checkbox.value+'"></div>';
}
strBody += '<td class="d-lg-flex justify-content-lg-center">'+_tbtn1+_tbtn2+'</td>';
strBody += '<td class="">'+_tbtn1+_tbtn2+'</td>';
//strBody += '<td class="d-lg-flex justify-content-lg-center">'+_tbtn1+_tbtn2+'</td>';
}
strBody += '</tr>';
});