Merge branch 'develop' into duplicate_key_errors_take2
This commit is contained in:
commit
2a551117b2
|
@ -3,6 +3,11 @@
|
|||
https://github.com/josdejong/jsoneditor
|
||||
|
||||
|
||||
## not yet released, version 5.32.2
|
||||
|
||||
- Fixed #416: Clipped action menu for append nodes.
|
||||
|
||||
|
||||
## 2018-03-28, version 5.32.1
|
||||
|
||||
- Fixed a regression in parsing JSON paths: numbers where parsed as strings
|
||||
|
|
|
@ -201,12 +201,12 @@ function appendNodeFactory(Node) {
|
|||
}
|
||||
];
|
||||
|
||||
if (this.editor.options.onCreateMenu) {
|
||||
items = this.editor.options.onCreateMenu(items, { path : node.getPath() });
|
||||
}
|
||||
if (this.editor.options.onCreateMenu) {
|
||||
items = this.editor.options.onCreateMenu(items, { path : node.getPath() });
|
||||
}
|
||||
|
||||
var menu = new ContextMenu(items, {close: onClose});
|
||||
menu.show(anchor, this.editor.content);
|
||||
menu.show(anchor, this.editor.frame);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue