Skip to content

Commit

Permalink
nombre del motor
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Nov 16, 2024
1 parent 53561df commit c88f329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/controllers/motor.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class Mr519Gen__Motor {
if (document.querySelectorAll('#' + idni).length == 1 && (
document.querySelector('#' + idni).value == '' ||
document.querySelector('#' + idni).value == 'N')) {
document.querySelector('#' + idni).value = Mr519__Motor.nombreANombreInterno(this.value)
document.querySelector('#' + idni).value = Mr519Gen__Motor.nombreANombreInterno(this.value)
}
} else if (event.target.matches("[id^=formulario_campo_attributes_]") &&
event.target.matches("[id$=_nombre]") ) {
Expand All @@ -63,7 +63,7 @@ export default class Mr519Gen__Motor {
if (document.querySelectorAll('#' + idni).length == 1 && (
document.querySelector('#' + idni).value == '' ||
document.querySelector('#' + idni).value == 'N')) {
document.querySelector('#' + idni).value = Mr519__Motor.nombreANombreInterno(this.value)
document.querySelector('#' + idni).value = Mr519Gen__Motor.nombreANombreInterno(this.value)
}
}
})
Expand Down

0 comments on commit c88f329

Please sign in to comment.