diff --git a/NKC_WF/Controllers/getMUCssController.cs b/NKC_WF/Controllers/getMUCssController.cs index 5b6844e..dc201de 100644 --- a/NKC_WF/Controllers/getMUCssController.cs +++ b/NKC_WF/Controllers/getMUCssController.cs @@ -50,14 +50,6 @@ namespace NKC_WF.Controllers { answ = memLayer.ML.getRSV(redKey); } - //if (!memLayer.ML.redKeyPresent(redKey)) - //{ - // memLayer.ML.setRSV(redKey, answ, dataCacheTTL / 2); - //} - //else - //{ - // answ = memLayer.ML.getRSV(redKey); - //} // RICALCOLO SOLO SE non trovo in REDIS (perché invalidato) if (string.IsNullOrEmpty(answ)) // se vuoto lo calcolo... diff --git a/NKC_WF/WebUserControls/cmp_MU_svgViewer.ascx b/NKC_WF/WebUserControls/cmp_MU_svgViewer.ascx index 947f555..befb80b 100644 --- a/NKC_WF/WebUserControls/cmp_MU_svgViewer.ascx +++ b/NKC_WF/WebUserControls/cmp_MU_svgViewer.ascx @@ -23,16 +23,18 @@ }).then(function (data) { // se è cambiato... if (data != lastVal) { + console.log("Changed cssRev: data=" + data + " | lastVal=" + lastVal); $('#uplTavola').load(location.href + ' #dynCss'); document.getElementById('<%=hfCurrRev.ClientID%>').value = data; - } - }); + } + }); // qui leggo la versione del BUNK (con cambio foglio...) $.ajax({ url: "../api/getMUSheetRev/" + BunkId }).then(function (data) { // se è cambiato... if (data != lastValBunk) { + console.log("Changed SheetReview: data=" + data + " | lastValBunk=" + lastValBunk); // ricarico intera pagina! location.reload(); document.getElementById('<%=hfCurrBunkRev.ClientID%>').value = data; diff --git a/NKC_WF/WebUserControls/cmp_unloadSmart.ascx b/NKC_WF/WebUserControls/cmp_unloadSmart.ascx index a72e2ea..4570920 100644 --- a/NKC_WF/WebUserControls/cmp_unloadSmart.ascx +++ b/NKC_WF/WebUserControls/cmp_unloadSmart.ascx @@ -60,7 +60,7 @@