Publish v5.32.5
This commit is contained in:
parent
a773d5cf8f
commit
f005c437db
|
@ -3,10 +3,11 @@
|
|||
https://github.com/josdejong/jsoneditor
|
||||
|
||||
|
||||
## not yet released, version 5.32.5
|
||||
## 2019-04-27, version 5.32.5
|
||||
|
||||
- Fixed a bug in the JMESPath query wizard which didn't correctly handle
|
||||
selecting multiple fields.
|
||||
- Fixed context menu not working when multiple nodes are selected.
|
||||
|
||||
|
||||
## 2019-04-10, version 5.32.4
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
* Copyright (c) 2011-2019 Jos de Jong, http://jsoneditoronline.org
|
||||
*
|
||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||
* @version 5.32.4
|
||||
* @date 2019-04-10
|
||||
* @version 5.32.5
|
||||
* @date 2019-04-27
|
||||
*/
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
|
@ -3148,8 +3148,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
}
|
||||
});
|
||||
|
||||
if (this.editor.options.onCreateMenu) {
|
||||
items = this.editor.options.onCreateMenu(items, { path : node.getPath() });
|
||||
if (this.options.onCreateMenu) {
|
||||
items = this.options.onCreateMenu(items, { path : node.getPath() });
|
||||
}
|
||||
|
||||
var menu = new ContextMenu(items, {close: onClose});
|
||||
|
@ -15048,14 +15048,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
}
|
||||
|
||||
if (values.length === 1) {
|
||||
query.value += '.' + selectedValue;
|
||||
query.value += '.' + values[0];
|
||||
}
|
||||
else if (values.length > 1) {
|
||||
query.value += '.{' +
|
||||
values.map(function (value) {
|
||||
var parts = value.split('.');
|
||||
var last = parts[parts.length - 1];
|
||||
return last + ': ' + selectedValue;
|
||||
return last + ': ' + value;
|
||||
}).join(', ') +
|
||||
'}';
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -24,8 +24,8 @@
|
|||
* Copyright (c) 2011-2019 Jos de Jong, http://jsoneditoronline.org
|
||||
*
|
||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||
* @version 5.32.4
|
||||
* @date 2019-04-10
|
||||
* @version 5.32.5
|
||||
* @date 2019-04-27
|
||||
*/
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
|
@ -31790,8 +31790,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
}
|
||||
});
|
||||
|
||||
if (this.editor.options.onCreateMenu) {
|
||||
items = this.editor.options.onCreateMenu(items, { path : node.getPath() });
|
||||
if (this.options.onCreateMenu) {
|
||||
items = this.options.onCreateMenu(items, { path : node.getPath() });
|
||||
}
|
||||
|
||||
var menu = new ContextMenu(items, {close: onClose});
|
||||
|
@ -43690,14 +43690,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
}
|
||||
|
||||
if (values.length === 1) {
|
||||
query.value += '.' + selectedValue;
|
||||
query.value += '.' + values[0];
|
||||
}
|
||||
else if (values.length > 1) {
|
||||
query.value += '.{' +
|
||||
values.map(function (value) {
|
||||
var parts = value.split('.');
|
||||
var last = parts[parts.length - 1];
|
||||
return last + ': ' + selectedValue;
|
||||
return last + ': ' + value;
|
||||
}).join(', ') +
|
||||
'}';
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jsoneditor",
|
||||
"version": "5.32.4",
|
||||
"version": "5.32.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jsoneditor",
|
||||
"version": "5.32.4",
|
||||
"version": "5.32.5",
|
||||
"main": "./index",
|
||||
"description": "A web-based tool to view, edit, format, and validate JSON",
|
||||
"tags": [
|
||||
|
|
|
@ -1685,8 +1685,8 @@ treemode.showContextMenu = function (anchor, onClose) {
|
|||
}
|
||||
});
|
||||
|
||||
if (this.editor.options.onCreateMenu) {
|
||||
items = this.editor.options.onCreateMenu(items, { path : node.getPath() });
|
||||
if (this.options.onCreateMenu) {
|
||||
items = this.options.onCreateMenu(items, { path : node.getPath() });
|
||||
}
|
||||
|
||||
var menu = new ContextMenu(items, {close: onClose});
|
||||
|
|
Loading…
Reference in New Issue