On 10/26/05, Rahul Bhargava <[EMAIL PROTECTED]> wrote: > > 1) have an argument so that the event can be passed into the method (this is > what bindAsEventListener lets you do) > > enterEditMode: function(evt) {
You're correct, but sometimes enterEditMode is called without the event argument (from the unit tests for example). So we need to conditionally stop it if it's not null, like this: if(evt) Event.stop(evt); I'll incorporate this in a patch and send it to Thomas asap. Thanks for the help everyone! Cheers, Jon _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs