This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2020-07-02 17:47:27 -07:00
parent 4ed018bb4d
commit 5cda2592ec
5 changed files with 333 additions and 184 deletions

View File

@@ -136,8 +136,8 @@ function buscadorMenuCaudi() {
$('ul#ulmenulateralmaster li.sidebar-toggler-wrapper').append(buscador);
let tickBar = 0;
let input = $('#' + idTxtMaster)
function BuscarMenu() {
let input = $('#' + idTxtMaster);
let BuscarMenu =function() {
tickBar = tickBar + 1;
tickBarnew = tickBar;
@@ -232,7 +232,7 @@ setchecktotag = function () {
$(mychecktotag.get(i)).css({ "display": "none" });
}
}
}
};
setswitch = function () {
if ($("span.make-switchsd input")) {
var mycheckswitch = $("span.make-switchsd input");
@@ -304,7 +304,7 @@ setswitch = function () {
mdspan.append(mdlbel);
}
}
}
};
function ADScroller2() {
$('table.ADSCROLLER2').each(function () {
@@ -738,14 +738,14 @@ ADSScroll = function (tablescroll) {
});
}
sort = false;
let divcontainer = $('<div class="ADScroller"></div>')
let divcontainer = $('<div class="ADScroller"></div>');
let divbody = $('<div class="ADScroller-body"></div>');
let divheader = $('<div class="ADScroller-header"></div>');
let divfooter = $('<div class="ADScroller-footer"></div>');
let tableheader = $('<table></table>').append($('<tbody></tbody>'));
tableheader.attr('id', 'ADSH-' + tablescroll.attr('id'))
tableheader.attr('id', 'ADSH-' + tablescroll.attr('id'));
let tablefooter = $('<table></table>').append($('<tbody></tbody>'));
tablefooter.attr('id', 'ADSF-' + tablescroll.attr('id'))
tablefooter.attr('id', 'ADSF-' + tablescroll.attr('id'));
let trWwidth = $('<tr class="trnopadding ADtr SearchADHeader"></tr>');
let idTheader = tablescroll.data('tableheader');
let rowVisibles = isNaN(Number(tablescroll.data('rows'))) ? 1 : Number(tablescroll.data('rows'));
@@ -768,7 +768,7 @@ ADSScroll = function (tablescroll) {
if (sort) {
trWwidth.addClass('TRSort');
}
tablescroll.removeClass("ScrollAD")
tablescroll.removeClass("ScrollAD");
tableheader.addClass(tablescroll.attr('class')).removeClass("table-advance");
tableheader.attr('style', tablescroll.attr('style'));
tablefooter.addClass(tablescroll.attr('class')).removeClass("table-advance");
@@ -782,7 +782,7 @@ ADSScroll = function (tablescroll) {
rowVisibles += 1;
});
} else {
log("Tabla titulo No encontrada '" + idTheader + "'.")
log("Tabla titulo No encontrada '" + idTheader + "'.");
}
}
let firsttr = null;