mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 10:37:52 +08:00
Merge pull request #5704 from artoscinote/ma_SCI_8774
Fix result table editing [SCI-8774]
This commit is contained in:
commit
1c337b7dd6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue