diff --git a/RoutesApp/js_views.py b/RoutesApp/js_views.py index 03656a4..68dc8c2 100644 --- a/RoutesApp/js_views.py +++ b/RoutesApp/js_views.py @@ -250,7 +250,8 @@ def create_or_change_route_ajax(request, route_id=None): html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request) res_Dict = { - 'html': html + 'html': html, + 'route_id': route_id } return JsonResponse(res_Dict)