diff --git a/Lux.UI/Components/Compo/OfferCommonPar.razor b/Lux.UI/Components/Compo/OfferCommonPar.razor index 137c7134..7aeb9441 100644 --- a/Lux.UI/Components/Compo/OfferCommonPar.razor +++ b/Lux.UI/Components/Compo/OfferCommonPar.razor @@ -55,11 +55,11 @@ -
+ @*
-
+
*@ } diff --git a/Lux.UI/Components/Compo/OfferDelivery.razor b/Lux.UI/Components/Compo/OfferDelivery.razor index c4719fda..ce1e9de7 100644 --- a/Lux.UI/Components/Compo/OfferDelivery.razor +++ b/Lux.UI/Components/Compo/OfferDelivery.razor @@ -24,11 +24,11 @@ -
+ @*
-
+
*@ } diff --git a/Lux.UI/Components/Compo/OfferMan.razor b/Lux.UI/Components/Compo/OfferMan.razor index aab87a73..0a3ce7c0 100644 --- a/Lux.UI/Components/Compo/OfferMan.razor +++ b/Lux.UI/Components/Compo/OfferMan.razor @@ -52,10 +52,10 @@ -
+ @*
-
+
*@ diff --git a/Lux.UI/Components/Pages/Offers.razor b/Lux.UI/Components/Pages/Offers.razor index 4bb3e4d5..5da62505 100644 --- a/Lux.UI/Components/Pages/Offers.razor +++ b/Lux.UI/Components/Pages/Offers.razor @@ -42,7 +42,7 @@
-
@@ -145,7 +145,7 @@ else - + ID Date diff --git a/Lux.UI/Components/Pages/Offers.razor.cs b/Lux.UI/Components/Pages/Offers.razor.cs index 45fe5658..51bbcba3 100644 --- a/Lux.UI/Components/Pages/Offers.razor.cs +++ b/Lux.UI/Components/Pages/Offers.razor.cs @@ -113,10 +113,14 @@ namespace Lux.UI.Components.Pages EditRecord = curRec; } - protected void DoReset() + protected async Task DoEsc(OfferModel updRec) { EditRecord = null; SelRecord = null; + if (!await JSRuntime.InvokeAsync("confirm", $"Vuoi uscire salvando?")) + return; + // salvo record + await DLService.OffertUpsert(updRec); } protected void DoSelect(OfferModel curRec) diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj index de6f460b..6c37c2fb 100644 --- a/Lux.UI/Lux.UI.csproj +++ b/Lux.UI/Lux.UI.csproj @@ -5,7 +5,7 @@ enable enable aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50 - 1.1.2603.1207 + 1.1.2603.1310 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 7f6402c5..baff22cb 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 1.1.2603.1207

+

Versione: 1.1.2603.1310


Note di rilascio: