Skip to content

Commit

Permalink
Eliminar código obsoleto
Browse files Browse the repository at this point in the history
  • Loading branch information
xaabi6 committed May 14, 2024
1 parent f024398 commit 7f75e90
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions src/rup_table/rup.table.js
Original file line number Diff line number Diff line change
Expand Up @@ -1867,18 +1867,13 @@
}
}

if (settingsTable.oInit.formEdit !== undefined){
if( settingsTable.oInit.responsive !== undefined && settingsTable.oInit.responsive.selectorResponsive !== undefined) { //si el selector es por defecto.selectorResponsive: 'td span.dtr-data'
DataTable.Api().editForm.addchildIcons(settingsTable);
}
if(typeof settingsTable.oInit.formEdit.detailForm === 'object' && ctx.oInit.formEdit.detailForm.isOpen !== undefined && ctx.oInit.formEdit.detailForm.isOpen() ){//si dialog esta abierto
// Ejecutar fixComboAutocompleteOnEditForm como callback para garantizar la actualización de las filas.
DataTable.Api().editForm.fixComboAutocompleteOnEditForm(ctx);
}
}
if (options.inlineEdit === undefined && options.formEdit === undefined) {
DataTable.Api().editForm.addchildIcons(settingsTable);
}
if (settingsTable.oInit.formEdit !== undefined && settingsTable.oInit.responsive !== undefined &&
settingsTable.oInit.responsive.selectorResponsive !== undefined) { //si el selector es por defecto.selectorResponsive: 'td span.dtr-data'
DataTable.Api().editForm.addchildIcons(settingsTable);
}
if (options.inlineEdit === undefined && options.formEdit === undefined) {
DataTable.Api().editForm.addchildIcons(settingsTable);
}

});

Expand Down

0 comments on commit 7f75e90

Please sign in to comment.