mleibman/SlickGrid — Issue #291: invalidateRows() has an incorrect check whether to makeActiveCellNormal
Author: peterlevi
Created: 2012-02-21 11:47:55+00:00
State: open

It iterates the array 'rows' by an index i and checks whether activeRow === i, while it should instead check whether activeRow === rows[i]. This means it may incorrectly cancel editing for a row which is not invalidated or vice-versa - not cancel editing for a row which is being invalidated (example: rows = [0,1,3], activeRow = 3).