Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -2390,6 +2390,27 @@
|
||||
height: 695px;
|
||||
}
|
||||
|
||||
.menu_buttons.left::-webkit-scrollbar-track{
|
||||
background-color: #F6F6F6;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu_buttons.left::-webkit-scrollbar-thumb{
|
||||
background-color: #989898;
|
||||
border-radius: 3px;
|
||||
width: 3px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu_buttons.left::-webkit-scrollbar{
|
||||
background-color:#FF613A;
|
||||
width: 4px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.menu_buttons{
|
||||
/*background: #FFFFFF;*/
|
||||
/*height: 100vh;*/
|
||||
|
||||
@@ -9,7 +9,6 @@ profile_tabs_f_static_map = new Map([
|
||||
['dashboard','dashboard']
|
||||
])
|
||||
|
||||
|
||||
function select_tab_profile (el,url,owner_type=null) {
|
||||
let data = {}
|
||||
let confirm_url = `/user_account/${url}/`
|
||||
@@ -80,6 +79,9 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
setStandartSettingsToBlockOverlay()
|
||||
}
|
||||
|
||||
if (window.location.href.includes("profile")){
|
||||
selectTabProfileIfHisNotSelected(url)
|
||||
}
|
||||
},
|
||||
error: function (data){
|
||||
console.log(data)
|
||||
@@ -87,6 +89,13 @@ function select_tab_profile (el,url,owner_type=null) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function selectTabProfileIfHisNotSelected (url) {
|
||||
let el_f_select = document.querySelector(`[data-ajax-url=${url}]`)
|
||||
el_f_select.classList.add('selected')
|
||||
}
|
||||
|
||||
function clickONTHEAPROfileBTN (el) {
|
||||
let el_f_click = el.querySelector(".text_btn_profile")
|
||||
el_f_click.click()
|
||||
|
||||
Reference in New Issue
Block a user