Skip to content

Commit

Permalink
fix modal bug
Browse files Browse the repository at this point in the history
The date-input inside the modal wasn't updating the class row
  • Loading branch information
domescala committed Feb 20, 2024
1 parent fe6279e commit 24ce277
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ function updateDoc_date(disp_aule) {
});
highlight_current_time_slot()
// Loading.end()

if (Aula_modal){
const ROW = q('[_id="'+Aula_modal+'"]')
q("#modal_lista_aule").innerHTML = ""
ROW.q(".lista_aule").CloneSubnodes(q("#modal_lista_aule"))
}
}

function updateDoc_campus(campus, disp){
Expand Down Expand Up @@ -562,7 +568,7 @@ FILTERS.forEach(filter => {
filter.addClass("active")
q("body").addClass("filter_active")
filtra_aule(filter.getAttribute("value"))
q("#scroll_target").scrollIntoView(false)
// q("#scroll_target").scrollIntoView(false)
q("#block_scroll").scrollIntoView(true)
}
if (last == filter) {
Expand Down

0 comments on commit 24ce277

Please sign in to comment.