Okay, so I have a javascript file that launches which injects another javascript file which creates checkbox per row. The js loader file looks like this:
//Run these scripts on all table pages
if (gReqTemplName == "searchresults") {
console.log(kRecordNamePlural, gReqQID);
if ((kRecordNamePlural == "Time Cards" && gReqQID == 37) || (kRecordNamePlural == "Milestone Payments" && gReqQID == 11) || (kRecordNamePlural == "Expenses" && gReqQID == 11)) {
$.getScript('/js/QuickBaseClient.js', function (data) {
$.getScript(gReqAppDBID + '?a=dbpage&pagename=approve.js');
});
};
}
This specific pageID 37 table has search function. The problem is, When I do the search, the injected javascript doesn't work anymore. Meaning, the checkbox per row doesn't show anymore in the result.
Any ideas?