Commit 68117b92014688cf6ef45c5c60fba249bc33c403
Committed by
Akzhan Abdulin
1 parent
51acf14c
Exists in
master
and in
1 other branch
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) { |