Fix #638: cannot expand after collapse
This commit is contained in:
parent
3334241ab9
commit
958463a9cd
|
@ -3,6 +3,11 @@
|
||||||
https://github.com/josdejong/jsoneditor
|
https://github.com/josdejong/jsoneditor
|
||||||
|
|
||||||
|
|
||||||
|
## not yet released, version 5.28.1
|
||||||
|
|
||||||
|
- Fix #638: cannot expand after collapse. Regression introduced in v5.28.0.
|
||||||
|
|
||||||
|
|
||||||
## 2019-01-21, version 5.28.0
|
## 2019-01-21, version 5.28.0
|
||||||
|
|
||||||
- Implemented new option `maxVisibleChilds` to customize the maximum number
|
- Implemented new option `maxVisibleChilds` to customize the maximum number
|
||||||
|
|
|
@ -910,7 +910,7 @@ Node.prototype.hideChilds = function(options) {
|
||||||
|
|
||||||
// reset max visible childs
|
// reset max visible childs
|
||||||
if (!options || options.resetVisibleChilds) {
|
if (!options || options.resetVisibleChilds) {
|
||||||
delete this.visibleChilds;
|
this.visibleChilds = this.getMaxVisibleChilds();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue