We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9664dac commit 5a59528Copy full SHA for 5a59528
src/rails.js
@@ -367,7 +367,7 @@
367
if (handleRemote === false) {
368
rails.enableElement(link);
369
} else {
370
- handleRemote.error( function() { rails.enableElement(link); } );
+ handleRemote.fail( function() { rails.enableElement(link); } );
371
}
372
return false;
373
@@ -389,7 +389,7 @@
389
390
rails.enableFormElement(button);
391
392
- handleRemote.error( function() { rails.enableFormElement(button); } );
+ handleRemote.fail( function() { rails.enableFormElement(button); } );
393
394
395
});
0 commit comments