This commit is contained in:
SBD
2023-11-25 15:26:30 +03:00
parent 200a9c308c
commit f6d0486a19
2 changed files with 6 additions and 2 deletions

View File

@@ -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 () {

View File

@@ -1,6 +1,6 @@
<div
{% if dom_id %}id="{{ dom_id }}"{% endif %}
{% if ajax_url and page_type == 'profile' %}onclick="select_tab_profile(this,'{{ ajax_url }}'{% if owner_type %},'{{ owner_type }}'{% endif %})"{% endif %}
{% if ajax_url and page_type == 'profile' %}onclick="select_tab_profile(this,'{{ ajax_url }}'{% if owner_type %},'{{ owner_type }}'{% endif %})"{% else %}onclick="clickONTHEAPROfileBTN(this)"{% endif %}
{% if page_name == sel_page_name %}
class="selected"
{% endif %} >