refresh cmp esterno
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
</asp:UpdatePanel>
|
||||
<script type="text/javascript">
|
||||
|
||||
window.setTimeout(showCharts, 10);
|
||||
window.setTimeout(hideCharts, 100);
|
||||
window.setTimeout(showCharts, 5);
|
||||
window.setTimeout(hideCharts, 20);
|
||||
//checkVisible();
|
||||
|
||||
function checkVisible() {
|
||||
|
||||
@@ -357,18 +357,6 @@ namespace GPW_Commesse.WebUserControls
|
||||
protected void showCharts(bool doShow)
|
||||
{
|
||||
divRilTemp.Visible = doShow;
|
||||
#if false
|
||||
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "checkVisible();", true);
|
||||
divCharts.Visible = true;
|
||||
if (doShow)
|
||||
{
|
||||
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "showCharts();", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
ScriptManager.RegisterStartupScript(upCharts, this.GetType(), "ShowHideCharts", "hideCharts();", true);
|
||||
}
|
||||
#endif
|
||||
divCharts.Visible = doShow;
|
||||
}
|
||||
|
||||
@@ -459,9 +447,6 @@ namespace GPW_Commesse.WebUserControls
|
||||
pnlEditOre.Visible = timbr;
|
||||
mod_commAttivitaDesk1.Visible = commesse;
|
||||
mod_commUtMancTimbr1.Visible = timbr;
|
||||
#if false
|
||||
cmp_rilTemp.Visible = temp;
|
||||
#endif
|
||||
showCharts(temp && tempVisible);
|
||||
|
||||
upMain.Update();
|
||||
|
||||
Reference in New Issue
Block a user