js bug fix

This commit is contained in:
Bachir Soussi Chiadmi 2025-04-01 15:16:56 +02:00
parent 676def97a1
commit 2a2bc0785a
3 changed files with 15 additions and 15 deletions

View File

@ -867,13 +867,13 @@ $(document).ready(function () {
// slimselect
let type_select = new SlimSelect({
let ressource_type_select = new SlimSelect({
select: '#edit-field-type-de-ressource-target-id--2'
})
let motscles_select = new SlimSelect({
let ressource_motscles_select = new SlimSelect({
select: '#edit-field-mots-clefs-target-id--2'
})
let sites_select = new SlimSelect({
let ressource_sites_select = new SlimSelect({
select: '#edit-field-site-target-id-verf--2'
})
// console.log(('sites_select'), sites_select);
@ -911,16 +911,16 @@ $(document).ready(function () {
});
// slimselect
// duplicated due to embeded view (archives)
let type_select = new SlimSelect({
let actu_type_select = new SlimSelect({
select: '#edit-field-type-d-actualite-target-id--2'
})
let type_select2 = new SlimSelect({
let actu_type_select2 = new SlimSelect({
select: '#edit-field-type-d-actualite-target-id--3'
})
let site_select = new SlimSelect({
let actu_site_select = new SlimSelect({
select: '#edit-field-site-target-id-verf--2'
})
let site_select2 = new SlimSelect({
let actu_site_select2 = new SlimSelect({
select: '#edit-field-site-target-id-verf--3'
})
}

File diff suppressed because one or more lines are too long

View File

@ -809,13 +809,13 @@ $(document).ready(function () {
// slimselect
let type_select = new SlimSelect({
let ressource_type_select = new SlimSelect({
select: '#edit-field-type-de-ressource-target-id--2'
})
let motscles_select = new SlimSelect({
let ressource_motscles_select = new SlimSelect({
select: '#edit-field-mots-clefs-target-id--2'
})
let sites_select = new SlimSelect({
let ressource_sites_select = new SlimSelect({
select: '#edit-field-site-target-id-verf--2'
})
// console.log(('sites_select'), sites_select);
@ -853,16 +853,16 @@ $(document).ready(function () {
});
// slimselect
// duplicated due to embeded view (archives)
let type_select = new SlimSelect({
let actu_type_select = new SlimSelect({
select: '#edit-field-type-d-actualite-target-id--2'
})
let type_select2 = new SlimSelect({
let actu_type_select2 = new SlimSelect({
select: '#edit-field-type-d-actualite-target-id--3'
})
let site_select = new SlimSelect({
let actu_site_select = new SlimSelect({
select: '#edit-field-site-target-id-verf--2'
})
let site_select2 = new SlimSelect({
let actu_site_select2 = new SlimSelect({
select: '#edit-field-site-target-id-verf--3'
})
}