mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
Merge pull request #2753 from urbanrotnik/ur-sci-4890-inventory-empty-text-value
Fix undefined text cell [SCI-4890]
This commit is contained in:
commit
077f5eefdb
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ $.fn.dataTable.render.editRepositoryAssetValue = function(formId, columnId, cell
|
|||
|
||||
$.fn.dataTable.render.editRepositoryTextValue = function(formId, columnId, cell) {
|
||||
let $cell = $(cell.node());
|
||||
let text = $cell.find('.text-value').data('edit-value');
|
||||
|
||||
let text = $cell.find('.text-value').data('edit-value') || '';
|
||||
$cell.html(`
|
||||
<div class="sci-input-container text-field error-icon">
|
||||
<input class="sci-input-field"
|
||||
|
|
Loading…
Reference in a new issue