diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.cs b/SGGL/FineUIPro.Web/indexProject.aspx.cs index ef36d7b6..f6976ea4 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.cs @@ -309,7 +309,7 @@ namespace FineUIPro.Web if (this.CurrUser != null) { mainTabStrip.ShowTabHeader = true; - PageContext.RegisterStartupScript("parent.removeActiveTab();"); + PageContext.RegisterStartupScript("removeActiveTab();"); } } else @@ -610,7 +610,7 @@ namespace FineUIPro.Web { this.Tab1.RefreshIFrame(); this.CurrUser.LoginProjectId = this.drpProject.SelectedValue; - PageContext.RegisterStartupScript("parent.removeActiveTab();"); + PageContext.RegisterStartupScript("removeActiveTab();"); MenuSwitchMethod(this.CurrUser.LastMenuType); if (CurrUser.IsOffice.HasValue && CurrUser.IsOffice.Value)