From db0a40de71de4d8ee7e626d07de8abda95e5d808 Mon Sep 17 00:00:00 2001 From: borissedw Date: Mon, 28 Aug 2023 18:14:20 +0300 Subject: [PATCH] 0.0.181 --- static/js/user_profile.js | 4 ++++ templates/blocks/profile/b_new_route.html | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 0b8453a..70869e4 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -350,6 +350,10 @@ function sendRoute(el, routeID = null){ let list_of_elements_form = document.querySelectorAll(".el_form_b_new_route"); let obj_w_el_form = {} for (let i = 0;i < list_of_elements_form.length;i++) { + // let id_el = list_of_elements_form[i].id + // if (id_el){ + // if (id_el === "") + // } let name_attr = list_of_elements_form[i].attributes["name"] if (name_attr) { let name_el = name_attr.value diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index e79eb2b..2e80c82 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -221,10 +221,9 @@ {% for item in form.fields.cargo_type.choices %}