diff --git a/.vs/WebSCR/v14/.suo b/.vs/WebSCR/v14/.suo index 3a5ba9c..19ba114 100644 Binary files a/.vs/WebSCR/v14/.suo and b/.vs/WebSCR/v14/.suo differ diff --git a/WebSCR/Web.config b/WebSCR/Web.config index 5c4818e..83dd4d1 100644 --- a/WebSCR/Web.config +++ b/WebSCR/Web.config @@ -12,7 +12,7 @@ - + @@ -69,7 +69,7 @@ --> - + diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx b/WebSCR/WebUserControls/mod_pianificazione.ascx index 4210771..c045785 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx @@ -53,16 +53,11 @@ - - - - -
-
+
-
+
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs index 9ba652d..fc5caf1 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs @@ -127,7 +127,7 @@ namespace WebSCR.WebUserControls // ricarico!!! Response.Redirect(devicesAuthProxy.pagCorrente); - } + } else if (qsVal("Action") == "EDIT") { errorMess = "EDIT"; @@ -158,7 +158,7 @@ namespace WebSCR.WebUserControls mod_giornata.Visible = true; } } - + private void tryMove() { // verifico di avere MatrOP selezionata @@ -191,7 +191,7 @@ namespace WebSCR.WebUserControls { errorMess = "Prego indicare Matricola Operatore per procedere"; } - } + } /// /// anno selezionato @@ -313,7 +313,7 @@ namespace WebSCR.WebUserControls } else { - errorMess= "Prego indicare inizio attività per procedere"; + errorMess = "Prego indicare inizio attività per procedere"; } } else @@ -378,7 +378,7 @@ namespace WebSCR.WebUserControls memLayer.ML.setSessionVal("CodSquadra", CodSquadra); memLayer.ML.setSessionVal("DataImp", DataImp); } - + /// /// nuovo record impegno... @@ -399,16 +399,18 @@ namespace WebSCR.WebUserControls errorMess = "Selezionato Documento"; lblWarning.Text = errorMess; + refreshDetail(); + mod_giornata.doUpdate(); +#if false // 2016.02.03 semplificato udpate a SOLO disp periodo (zona) - //refreshDetail(); - //mod_giornata.doUpdate(); - // faccio udpate SOLO SE è variata la zona... if (mod_dispPeriodo.Zona != mod_filtroZona.Zona) { mod_dispPeriodo.Zona = mod_filtroZona.Zona; mod_dispPeriodo.doUpdate(); } + +#endif } /// /// refresh detail @@ -430,10 +432,13 @@ namespace WebSCR.WebUserControls { } Response.Redirect(string.Format("{0}?Data={1:yyyy-MM-dd}", devicesAuthProxy.pagCorrente, adesso)); } - mod_dispPeriodo.DataFrom = mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd"); - mod_dispPeriodo.NumGG = mod_filtroPeriodo.numGG.ToString(); - mod_dispPeriodo.Zona = mod_filtroZona.Zona; - mod_dispPeriodo.doUpdate(); + if (mod_dispPeriodo.Zona != mod_filtroZona.Zona || mod_dispPeriodo.DataFrom != mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd") || mod_dispPeriodo.NumGG != mod_filtroPeriodo.numGG.ToString()) + { + mod_dispPeriodo.DataFrom = mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd"); + mod_dispPeriodo.NumGG = mod_filtroPeriodo.numGG.ToString(); + mod_dispPeriodo.Zona = mod_filtroZona.Zona; + mod_dispPeriodo.doUpdate(); + } mod_impegno.doUpdate(); mod_dettInt.doUpdate(); } diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs index 5cc5b03..7a2b1c0 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs @@ -84,15 +84,6 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.WebControls.LinkButton lbMore; - /// - /// upnContenuto control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.UpdatePanel upnContenuto; - /// /// mod_dispPeriodo control. /// diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 05dad58..58c7df4 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ diff --git a/WebSCR/bin/WebSCR.dll.config b/WebSCR/bin/WebSCR.dll.config index 5c4818e..c8ac7a0 100644 --- a/WebSCR/bin/WebSCR.dll.config +++ b/WebSCR/bin/WebSCR.dll.config @@ -12,7 +12,7 @@ - + @@ -69,7 +69,7 @@ --> - +