Why not just check for the disabled attribute in the listener?