Merge pull request #5704 from artoscinote/ma_SCI_8774

Fix result table editing [SCI-8774]
This commit is contained in:
artoscinote 2023-07-03 13:32:35 +02:00 committed by GitHub
commit 1c337b7dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
var $container = $(this).find('.hot');
var data = null;
var contents = $(this).find('.hot-contents');
var metadata = JSON.parse($(this).find('.hot-metadata').val() || '{}');
var metadata = $(this).find('.hot-metadata').val() || {};
if (contents.attr('value')) {
data = JSON.parse(contents.attr('value')).data;
}