diff --git a/PUB/SitePBO.master.cs b/PUB/SitePBO.master.cs
index b4c21e4..cb71519 100644
--- a/PUB/SitePBO.master.cs
+++ b/PUB/SitePBO.master.cs
@@ -1,9 +1,7 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
+using Data;
+using SteamWare;
+using System;
using System.Web.UI;
-using System.Web.UI.WebControls;
namespace PUB
{
@@ -11,7 +9,17 @@ namespace PUB
{
protected void Page_Load(object sender, EventArgs e)
{
-
+ if (!Page.IsPostBack)
+ {
+ memLayer.ML.setSessionVal("ER_EditMode", ER_EditMode.mPBO);
+ bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
+ // se ha permesso --> salvo KEY di riferimento...
+ if (userAuth)
+ {
+ memLayer.ML.setSessionVal("idxAmm", "0");
+ memLayer.ML.setSessionVal("idxFornitore", "0");
+ }
+ }
}
}
}
\ No newline at end of file
diff --git a/PUB/WebUserContols/mod_ER_selCondominio.ascx b/PUB/WebUserContols/mod_ER_selCondominio.ascx
index 5fe2b13..10fd2a9 100644
--- a/PUB/WebUserContols/mod_ER_selCondominio.ascx
+++ b/PUB/WebUserContols/mod_ER_selCondominio.ascx
@@ -4,18 +4,16 @@