diff --git a/lib/editor/components/timetable/EditableCell.js b/lib/editor/components/timetable/EditableCell.js index eb9704599..baf3e3916 100644 --- a/lib/editor/components/timetable/EditableCell.js +++ b/lib/editor/components/timetable/EditableCell.js @@ -304,7 +304,6 @@ export default class EditableCell extends Component { onPaste={this.handlePaste} placeholder={placeholder || ''} readOnly={!isEditing} - ref='inputCell' type='text' /> :
{ addNewRow, columns, data, - // setActiveCell, hideDepartureTimes, updateCellValue, updateScroll @@ -410,10 +409,6 @@ export default class TimetableGrid extends Component { } } } - // Prevent the active cell from being set to the last cell in the pasted selection - // if (activeRow !== rowIndex + pastedRows.length - 1) { - // setActiveCell(`${activeRow}-${activeCol}`) - // } updateScroll(activeRow, activeCol) }