mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadido wire-o
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.5 MiB |
@ -34,6 +34,7 @@ class DatosGenerales {
|
||||
this.cosido = $(this.domItem.find("#cosido")[0]);
|
||||
this.grapado = $(this.domItem.find("#grapado")[0]);
|
||||
this.espiral = $(this.domItem.find("#espiral")[0]);
|
||||
this.wireo = $(this.domItem.find("#wireo")[0]);
|
||||
|
||||
this.tiposLibro = this.domItem.find(".tipo-libro");
|
||||
|
||||
@ -587,7 +588,7 @@ class DatosGenerales {
|
||||
// Accede al ID del elemento que disparó el evento
|
||||
const element = $(event.target);
|
||||
|
||||
let containers = element.closest('.tipo-libro').parent().find('.tipo-libro');
|
||||
let containers = $('#divTipoLibro').find('.tipo-libro');
|
||||
for (let container of containers) {
|
||||
if (container != element.closest('.tipo-libro')[0]) {
|
||||
$(container).removeClass('selected');
|
||||
@ -614,7 +615,7 @@ class DatosGenerales {
|
||||
this.divPaginasCuaderillo.addClass('d-none');
|
||||
}
|
||||
|
||||
if (this.grapado.hasClass('selected') || this.espiral.hasClass('selected')) {
|
||||
if (this.grapado.hasClass('selected') || this.espiral.hasClass('selected') || this.wireo.hasClass('selected')) {
|
||||
$('#addSobrecubierta').prop('checked', false).trigger('change');
|
||||
$(".sobrecubierta-items").addClass('d-none');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user