mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 11:21:22 +00:00
Upgrade jquery.jsoneditor to handle null values
Fixes the editor in dry-runs when working with events that include `null` values. https://github.com/cantino/jsoneditor/pull/3
This commit is contained in:
parent
985cc8e376
commit
ea2a5e3456
1 changed files with 3 additions and 0 deletions
|
@ -544,6 +544,9 @@
|
|||
bq.append($('<div class="bracers">}</div>'));
|
||||
node.append(bq);
|
||||
} else {
|
||||
if (json === null) {
|
||||
json = '';
|
||||
}
|
||||
elem = this.editable(json.toString(), key, parent, root, 'value').wrap('<span class="val"></span>').parent();
|
||||
node.append(elem);
|
||||
node.prepend(this.braceUI(key, parent));
|
||||
|
|
Loading…
Add table
Reference in a new issue