Update js x briwserWindowSize

This commit is contained in:
Samuele E. Locatelli
2018-03-16 16:24:58 +01:00
parent d74f769f92
commit 98397a9c38
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ function SetWidthHeight() {
window.location.reload();
};
}).fail(function (xhr) {
alert("Problem to retrieve browser size.");
//alert("Problem to retrieve browser size.");
});
}
+2 -2
View File
@@ -26,10 +26,10 @@ namespace CMS_SC
context.Session["BrowserWidth"] = context.Request.QueryString["Width"];
context.Session["BrowserHeight"] = context.Request.QueryString["Height"];
// salvare in REDIS come conteggio INCREMENTALE...
// salva in REDIS come conteggio INCREMENTALE...
if (memLayer.ML.CRB("SC_RedEnab"))
{
string memName= string.Format("COUNT:wh:{0}x{1}", context.Request.QueryString["Width"], context.Request.QueryString["Height"]);
string memName = string.Format("COUNT:wh:{0}x{1}", context.Request.QueryString["Width"], context.Request.QueryString["Height"]);
// conto +1 x la size nel contatore REDIS
long nCall = memLayer.ML.setRCntI(memLayer.ML.redHash(memName));
}
Vendored
+1 -1
View File
@@ -14,7 +14,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=4236']) {
withEnv(['NEXT_BUILD_NUMBER=4237']) {
// env.versionNumber = VersionNumber(versionNumberString : '3.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '3.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'CMS-SC'