Permalink
Browse files

Fixed ajax:aborted:required test to pass in IE7.

  • Loading branch information...
1 parent 8ecc2d7 commit 078c9cf0f89221e098e1501dcb6988d2bc720296 @JangoSteve JangoSteve committed May 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/public/test/call-remote-callbacks.js
View
2 test/public/test/call-remote-callbacks.js
@@ -66,7 +66,7 @@ asyncTest('stopping the "ajax:beforeSend" event aborts the request', 1, function
asyncTest('blank required form input field should abort request and trigger "ajax:aborted:required" event', 5, function() {
var form = $('form[data-remote]')
.append($('<input type="text" name="user_name" required="required">'))
- .append($('<textarea name="user_bio" required="required">'))
+ .append($('<textarea name="user_bio" required="required" value=""></textarea>'))
.bind('ajax:beforeSend', function() {
ok(false, 'ajax:beforeSend should not run');
})

1 comment on commit 078c9cf

@neerajdotname
Ruby on Rails member

good one

Please sign in to comment.