Skip to content

Commit 583e85c

Browse files
committed
be sure that event parameter of onSortCol is an object
1 parent 053ad4f commit 583e85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/grid.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5079,7 +5079,7 @@
50795079
index = index.substring(5 + p.id.length + 1); // bad to be changed!?!
50805080
p.sortname = cm.index || index;
50815081
}
5082-
if (!feedback.call(self, "onSortCol", p.sortname, idxcol, p.sortorder, e)) {
5082+
if (!feedback.call(self, "onSortCol", p.sortname, idxcol, p.sortorder, e || {})) {
50835083
p.lastsort = idxcol;
50845084
return;
50855085
}

0 commit comments

Comments
 (0)