Ignore:
Timestamp:
10/12/24 21:32:15 (5 weeks ago)
Author:
macagaso <gasoskamarija@…>
Branches:
master
Parents:
743de55
Message:

Updated version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/static/js/users-view.js

    r743de55 r43c9090  
    1212}
    1313function calculateAge(dateBirth){
    14     console.log(dateBirth);
    1514    const [year, month, day] = dateBirth.split('-').map(Number);
    1615    const birthDate = new Date(year, month - 1, day);
     
    5554        button.addEventListener('click',()=>{
    5655            let temp=user.username;
    57             console.log(temp);
    5856                const params = new URLSearchParams({ param1: 'ADMIN', param2: temp }).toString();
    5957                window.location.href = `editUser.html?${params}`;
     
    9088   document.getElementById("search-input-container").style.display = 'none';
    9189    const selectedValue = event.currentTarget.value;
    92     console.log(selectedValue);
    9390    if(selectedValue!=='defaultValue')
    9491    filterUsers("status",selectedValue).then(r => console.log(r));
     
    9895    setInitialSelectValue(userStatusElement);
    9996    const dataCheck = event.currentTarget.value;
    100     console.log(dataCheck);
    10197    updateSearchInputVisibility(dataCheck);
    10298
    10399    document.getElementById("search-button").addEventListener('click',function (){
    104100        let filterTemp=document.getElementById("search-input");
    105         console.log(filterTemp.value);
    106101        filterUsers(dataCheck,filterTemp.value).then(r => console.log(r));
    107102        filterTemp.value='';
Note: See TracChangeset for help on using the changeset viewer.