Fix from Stuart Owen for link_to_with_callbacks to revent double request - via remote_function and :remote=>true.