Reverted TabStrip and Panel

This commit is contained in:
Leigh Pointer
2024-11-26 10:33:18 +01:00
parent f5cc61384f
commit 9d7549da70
5 changed files with 39 additions and 50 deletions

View File

@ -302,13 +302,13 @@
}
else
{
_activetab = "Settings";
//_activetab = "Settings";
AddModuleMessage(Localizer["Message.Required.Title"], MessageType.Warning);
}
}
else
{
_activetab = "Settings";
//_activetab = "Settings";
AddModuleMessage(SharedLocalizer["Message.InfoRequired"], MessageType.Warning);
}
}

View File

@ -523,7 +523,7 @@
private async Task SavePage()
{
_activetab = "Settings";
//_activetab = "Settings";
validated = true;
var interop = new Interop(JSRuntime);
if (await interop.FormValid(form))
@ -672,17 +672,23 @@
}
else
{
_activetab = "Settings";
_refresh = true;
AddModuleMessage(Localizer["Message.Required.PageInfo"], MessageType.Warning);
}
}
catch (Exception ex)
{
await logger.LogError(ex, "Error Saving Page {Page} {Error}", _page, ex.Message);
_activetab = "Settings";
_refresh = true;
AddModuleMessage(Localizer["Error.Page.Save"], MessageType.Error);
}
}
else
{
_activetab = "Settings";
_refresh = true;
AddModuleMessage(SharedLocalizer["Message.InfoRequired"], MessageType.Warning);
}
}