mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadidos todos los servicios a falta del solapas grandes (incluido plegado de guardas)
This commit is contained in:
@ -117,9 +117,7 @@ class DatosLibro {
|
||||
changePrototipo() {
|
||||
|
||||
if (this.prototipo.prop('checked')) {
|
||||
|
||||
$(document).trigger('add-servicio-lineas', 'prototipo');
|
||||
this.ferro.prop('checked', true).trigger('change');
|
||||
}
|
||||
else {
|
||||
$(document).trigger('remove-servicio-lineas', 'prototipo');
|
||||
@ -127,18 +125,18 @@ class DatosLibro {
|
||||
}
|
||||
|
||||
|
||||
checkRetractilado(element) {
|
||||
checkRetractilado(event) {
|
||||
|
||||
switch (element.id) {
|
||||
switch (event.currentTarget.id) {
|
||||
case 'retractilado':
|
||||
if ($('#' + element.id).prop('checked')) {
|
||||
if ($('#' + event.currentTarget.id).prop('checked')) {
|
||||
$('#retractilado5').prop('checked', false);
|
||||
$(document).trigger('remove-servicio-lineas', 'retractilado5');
|
||||
$(document).trigger('add-servicio-lineas', 'retractilado');
|
||||
}
|
||||
break;
|
||||
case 'retractilado5':
|
||||
if ($('#' + element.id).prop('checked')) {
|
||||
if ($('#' + event.currentTarget.id).prop('checked')) {
|
||||
$('#retractilado').prop('checked', false);
|
||||
$(document).trigger('remove-servicio-lineas', 'retractilado');
|
||||
$(document).trigger('add-servicio-lineas', 'retractilado5');
|
||||
|
||||
Reference in New Issue
Block a user