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)