gregbell/active_admin — pull request #3287 by rodrigoddalmeida (2014-07-18 02:56:27+00:00)
Title: Fix cases where events bound to document were 'rebounding'

This fix mostly cases dealing with Turbolinks or anything messing with the ready event. Events bound to the 'document' object were being triggered twice (or more).

Since this method of event binding is independent of the target object existing in the DOM at the moment of it's runtime, it is actually better to leave them out of the ready function.