Closed markkra closed 10 years ago
I had to tweak sfVirtualRepeatWatchExpression locally for times when coll is undefined:
function sfVirtualRepeatWatchExpression(scope){ var coll = scope.$eval(ident.collection); if( coll && (coll.length !== state.total) ){ state.total = coll.length; recomputeActive(); } return { start: state.firstActive, active: state.active, len: coll && coll.length || 0; }; }
good idea, thanks.
This should be in 6.1 now (which I previously forgot to push the tag for!)
I had to tweak sfVirtualRepeatWatchExpression locally for times when coll is undefined: