diff --git a/src/rails.js b/src/rails.js index 9f8a8a54..d9285c93 100644 --- a/src/rails.js +++ b/src/rails.js @@ -17,7 +17,7 @@ jQuery(function ($) { return event.result !== false; }, - + /** * Handles execution of remote calls firing overridable events along the way */ @@ -72,35 +72,35 @@ jQuery(function ($) { * remote handlers */ $('form[data-remote="true"]').live('submit', function (e) { - $(this).callRemote(); + $(this).callRemote(); e.preventDefault(); }); $('a[data-remote="true"],input[data-remote="true"]').live('click', function (e) { - $(this).callRemote(); + $(this).callRemote(); e.preventDefault(); }); - $('a[data-method][data-remote!=true]').live('click',function(e){ + $('a[data-method][data-remote!=true]').live('click',function(e){ var link = $(this), href = link.attr('href'), method = link.attr('data-method'), form = $('