fix foldAll
This commit is contained in:
parent
eebdf1360f
commit
57bb9f767c
1 changed files with 1 additions and 1 deletions
|
|
@ -625,7 +625,7 @@ function Folding() {
|
||||||
|
|
||||||
this.foldAll = function(startRow, endRow) {
|
this.foldAll = function(startRow, endRow) {
|
||||||
var foldWidgets = this.foldWidgets;
|
var foldWidgets = this.foldWidgets;
|
||||||
endRow = endRow || foldWidgets.length;
|
endRow = endRow || this.getLength();
|
||||||
for (var row = startRow || 0; row < endRow; row++) {
|
for (var row = startRow || 0; row < endRow; row++) {
|
||||||
if (foldWidgets[row] == null)
|
if (foldWidgets[row] == null)
|
||||||
foldWidgets[row] = this.getFoldWidget(row);
|
foldWidgets[row] = this.getFoldWidget(row);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue