1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix element to collapse items in visual JSON editor

This commit is contained in:
Kazuhito Yokoi 2019-10-07 16:13:04 +09:00
parent f75dd2209d
commit a0026e66ce

View File

@ -141,6 +141,7 @@
})
}});
options.push({id:"red-ui-editor-type-json-menu-collapse-children",icon:"fa fa-angle-double-up", label:RED._('jsonEditor.collapseItems'),onselect:function(){
item.treeList.collapse();
item.children.forEach(function(child) {
child.treeList.collapse();
})