update improvment dec 2023

This commit is contained in:
2023-12-16 15:21:07 +07:00
parent debc10869e
commit b84200f7ef
3 changed files with 14 additions and 8 deletions
+3 -2
View File
@@ -4,7 +4,7 @@
Desc. : CSS Default Configuration
Created By : Siau Pheng ([email protected]).
Created Date : December 20th, 2007.
Last Modified : May 20th, 2023.
Last Modified : December 16th, 2023.
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
@@ -368,7 +368,8 @@ table * .r { text-align: right !important; }
table * .c { text-align: center !important; }
table * .wr { white-space: normal !important; }
table * .nwr { white-space: nowrap !important; }
table * .awr { white-space: nowrap !important; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
table * .awr, table * .awr-400 { white-space: nowrap !important; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
table * .awr-400 { max-width: 400px; }
table * .hid { visibility: hidden !important; display: none !important; }
table * .nb { border: 0 !important; }
+6 -1
View File
@@ -133,6 +133,10 @@ var FoniaJS = {
FoniaJS.callMenu(linkid);
if (sbar.length > 0) { sbar.modal('toggle'); }
});
$(".slink").click(function(e){
var ddown = $(this).closest('.dropdown-menu');
if (ddown.length > 0) { ddown.dropdown('toggle'); }
});
if ($("#HomeLink").length){
$("#HomeLink").click(function(){
this.closeAllWindows();
@@ -385,6 +389,7 @@ var FoniaJS = {
}
});
$('.option-tags').each(function() {//oke
if (!jQuery.isFunction(jQuery.fn.select2)) return;
var _opts = {tags: false, dropdownAutoWidth: true, width: 'auto', theme: 'bootstrap-5'};
var _dmodal = $(this).closest('div.modal');
if ($(_dmodal).hasClass('modal')) _opts.dropdownParent = _dmodal;
@@ -946,7 +951,7 @@ Request.JSONF = function(options){//oke
$(this).parent().addClass(span);
});
// create hover title for awr class td
$('#'+ini.id+'Tabel tbody td.awr').each(function(){
$('#'+ini.id+'Tabel tbody td[class*="awr"]').each(function(){
$(this).attr('title', $(this).html().replace(/<br\s*[\/]?>/gi,'\n').replace(/(<([^>]+)>)/gi,''));
});
// generate pagelength option