update 2023-08-04 fixed cache, form and fonia3.js

This commit is contained in:
2023-08-04 17:29:07 +07:00
parent 8e7d327a4f
commit 06e524f9b3
4 changed files with 30 additions and 18 deletions
+3 -4
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 : May 15th, 2023.
Last Modified : July 6th, 2023.
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
@@ -385,7 +385,7 @@ var FoniaJS = {
}
});
$('.option-tags').each(function() {//oke
var _opts = {tags: false, theme: 'bootstrap-5'};
var _opts = {tags: false, dropdownAutoWidth: true, width: 'auto', theme: 'bootstrap-5'};
var _dmodal = $(this).closest('div.modal');
if ($(_dmodal).hasClass('modal')) _opts.dropdownParent = _dmodal;
var _sel2 = $(this).select2(_opts);
@@ -858,8 +858,7 @@ Request.JSONF = function(options){//oke
_lmenu.push(val);
});
if (10 > ini.content.length){
opsi.lengthMenu.push([10]);
opsi.lengthMenu.push([10]);
opsi.lengthMenu.push([10],[10]);
}else{
_lmenu.push(-1), opsi.lengthMenu.push(_lmenu), _lmenu.pop();
_lmenu.push(ini.content.length), opsi.lengthMenu.push(_lmenu);