Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Commit e31fdd42 authored by Valentine's avatar Valentine

Upload New File

parent 902abf97
$('.editGalleryImage').click(function () {
let id = this.id.split("-")[1]
let img=this.id.split("-")[2]
$("#siteOptionsModal").modal('open')
$("a[href=#options-medias]").click()
MediaManagment.render(true, "uglyForm-"+id+"-imgUrl"+img)
initMainSaveBtn()
})
$('.removeGalleryImage').click(function () {
let id = this.id.split("-")[1]
let field= this.id.split("-")[2]
$('#uglyForm input[name=uglyForm-'+id+'-'+field+']').val("");
$('#moduleValue-'+field).attr('src', 'app/views/modules/gallery/default.png')
console.log(field)
setTimeout(function () {
$('.carousel.carousel-slider').carousel({fullWidth: true,indicators: true });
},200)
initMainSaveBtn()
})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment