From f6d0486a1996c6a43ab9b1cf90e17c59360b6cb1 Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 25 Nov 2023 15:26:30 +0300 Subject: [PATCH] 0.8.397 --- static/js/user_profile_2.js | 6 +++++- templates/widgets/profile/w_button_for_profile_menu.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index 0f3b1ac..7f5c12d 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -82,7 +82,11 @@ function select_tab_profile (el,url,owner_type=null) { } }); } - +function clickONTHEAPROfileBTN (el) { + let parent = el.parentNode + let el_f_click = parent.querySelector(".text_btn_profile") + el_f_click.click() +} function createTicketShow () { diff --git a/templates/widgets/profile/w_button_for_profile_menu.html b/templates/widgets/profile/w_button_for_profile_menu.html index 652d705..45770e4 100644 --- a/templates/widgets/profile/w_button_for_profile_menu.html +++ b/templates/widgets/profile/w_button_for_profile_menu.html @@ -1,6 +1,6 @@