Steve,
Merry Christmas!
No there is no error here.
The full code say:
The original gridComplete should obtain the saved one before some operations.
The
if(p.gridComplete = complete) {
complete();
}
in the assigment the value can be either null or function if the value is null – nothing will happen else we restore the original and exectute the event.
Not sure if I explain it good.
Something similar can be see in grid.common.js
function findPos(obj) {