1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
2022-07-24 16:46:28 +02:00

10 lines
349 B
Plaintext

$('tr[id=measurement-<%= @measurement.id %>]').nextUntil('tr.measurement')
.remove('tr:not(.details)').hide().addBack().first().after(
'<tr>' +
'<td class="topleft symmetric"' +
'colspan="'+$('table#readouts tr:first-child td').length+'">' +
'<%= j render partial: 'readouts/edit_form' %>' +
'</td>' +
'</tr>'
);