From b53e19c439a5b2b58b4d1a119f584940d98d0b01 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Sat, 2 Dec 2023 14:43:23 +0300 Subject: [PATCH 1/4] 0.0.301 initialization in com_of --- templates/forms/f_commercial_offer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/forms/f_commercial_offer.html b/templates/forms/f_commercial_offer.html index 1c97a0a..316f0db 100644 --- a/templates/forms/f_commercial_offer.html +++ b/templates/forms/f_commercial_offer.html @@ -15,7 +15,7 @@ type="text" onkeydown = "hideErrors(this)" placeholder="{% translate 'Имя' %}" - {% if form.data.name %} value="{{ form.data.name }}"{% endif %}> + {% if form.name %} value="{{ form.name }}"{% endif %}> {% if form.errors.name %} {{ form.errors.name }} {% endif %} @@ -25,7 +25,7 @@ + placeholder="{% translate 'Телефон' %}"{% if form.phone %} value="{{ form.phone }}"{% endif %}> {% if form.errors.phone %} {{ form.errors.phone }} {% endif %} From 0f432c4fd90889de55ae95273d694b53f5eab739 Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 2 Dec 2023 14:56:30 +0300 Subject: [PATCH 2/4] 0.8.446 --- static/js/user_profile_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 1949ab5..de49966 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -58,7 +58,7 @@ function select_tab_profile (el,url,owner_type=null) { let header = document.querySelector("header") header.scrollIntoView({ behavior: "smooth", - block: "end", + block: "center", inline: "nearest" }) middleWareJS() From aea501aedb839304e6b796d155e41c9fee4b41e1 Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 2 Dec 2023 14:58:16 +0300 Subject: [PATCH 3/4] 0.8.447 --- static/js/user_profile_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index de49966..0ab75e5 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -58,7 +58,7 @@ function select_tab_profile (el,url,owner_type=null) { let header = document.querySelector("header") header.scrollIntoView({ behavior: "smooth", - block: "center", + block: "start", inline: "nearest" }) middleWareJS() From fcfbeece877b094c6c68b657cab8ba2faf56a441 Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 2 Dec 2023 15:01:48 +0300 Subject: [PATCH 4/4] 0.8.448 --- static/js/user_profile_2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 0ab75e5..5fd2e0a 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -58,8 +58,8 @@ function select_tab_profile (el,url,owner_type=null) { let header = document.querySelector("header") header.scrollIntoView({ behavior: "smooth", - block: "start", - inline: "nearest" + block: "end", + inline:'center' }) middleWareJS() let user_type = getInfoAboutUser()