AJAX Issue

The AJAX call works fine in development mode but in production has issues.

The handler.call line in the following method is throwing error in the JavaScript console:

Error: handler has no properties

Source File: http://mydomain.com/javascripts/all.js?1202672432

Line: 3883

function createWrapper(element, eventName, handler) {

var id = getEventID(element);

var c = getWrappersForEventName(id, eventName);

if (c.pluck(“handler”).include(handler)) return false;

var wrapper = function(event) {

if (!Event || !Event.extend ||

(event.eventName && event.eventName != eventName))

return false;


handler.call(element, event)


Does anyone encountered this before? TIA.