Commit f7067887e0d8922a7bb4d2bc59a2ac5504f5933f
Exists in
master
and in
1 other branch
Merge pull request #126 from akzhan/minor-rails.js-bugfix
Minor bugfix in rails.js
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/rails.js
@@ -391,7 +391,7 @@ | @@ -391,7 +391,7 @@ | ||
391 | } | 391 | } |
392 | ); | 392 | ); |
393 | 393 | ||
394 | - e.preventDefault(); | 394 | + event.preventDefault(); |
395 | }); | 395 | }); |
396 | 396 | ||
397 | $(rails.formSubmitSelector).live('ajax:beforeSend.rails', function(event) { | 397 | $(rails.formSubmitSelector).live('ajax:beforeSend.rails', function(event) { |