Hi, So i recently export solution from my development(dev) environment to production(prod) and custom js stop working on prod but still work on dev.
For example this script:
function displayIconTooltip(rowData, userLCID) { var DateNow = Date.now(); var dataJSON = JSON.parse(rowData); var DatePredictionString = dataJSON.new_previsao_Value; var Status = dataJSON.new_fechado_Value; var imgName = ""; var tooltip = ""; if(Status != true || Status == null) { if (DatePredictionString != null || DatePredictionString != undefined) { var DatePrediction = Date.parse(DatePredictionString); if (DatePrediction < DateNow) { imgName = "new_ImgWarningDate"; switch (userLCID) { case 2070: tooltip = "Deveria estar fechada"; break; default: tooltip = "Expected be closed"; break; } } } } var resultarray = [imgName, tooltip]; return resultarray; }
error getting
i googled a lot and find anything, i was thinking that someone could help me.
Thanks In Advance.
*This post is locked for comments