From 22e6951ec923b838befd594cd6f449af150c4a22 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 23 Jan 2017 09:47:48 +0100 Subject: [PATCH] Fix bug since localization default: fr --- Yavsc/Views/Command/Create.cshtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Yavsc/Views/Command/Create.cshtml b/Yavsc/Views/Command/Create.cshtml index fc9fa33a..c70c8a80 100644 --- a/Yavsc/Views/Command/Create.cshtml +++ b/Yavsc/Views/Command/Create.cshtml @@ -49,8 +49,8 @@ var pos = loc.geometry.location; var lat = new Number(pos.lat); var lng = new Number(pos.lng); - $('#' + config.latId).val(lat.toLocaleString('en')); - $('#' + config.longId).val(lng.toLocaleString('en')); + $('#' + config.latId).val(lat.toLocaleString('fr')); + $('#' + config.longId).val(lng.toLocaleString('fr')); gmap.setCenter(pos); if (marker) { marker.setMap(null); @@ -191,7 +191,9 @@ -@Html.HiddenFor(model=>model.Client.Id) @Html.HiddenFor(model=>model.PerformerId) @Html.HiddenFor(model=>model.ActivityCode) +@Html.HiddenFor(model=>model.Client.Id) +@Html.HiddenFor(model=>model.PerformerId) +@Html.HiddenFor(model=>model.ActivityCode)