jiren/filter.js — pull request #55 by peterjaric (2014-10-21 08:17:16+00:00)
Title: Remove old search handler before adding the new one.

Each time initSearch was called (from addRecords) bindSearchEvent was called, and then a new event handler was bound to keyup. This pull request removes the old event handler before calling bindSearchEvent.