update improvment dec 2023
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user