#476 ✓invalid
skazska

Form send async=false fires onSuccess twice

Reported by skazska | February 22nd, 2012 @ 02:41 PM

var from = $('some').first('form');
form.send({
  async:false,
  onSuccess:function(r){
    someFunction(r.responseJSON.field);
  }
  ,onFailure(){someWarn()}
});

someFunction - executed twice.

Comments and changes to this ticket

  • MadRabbit

    MadRabbit March 14th, 2012 @ 12:28 PM

    • State changed from “new” to “invalid”

    Don't use the async:false option, it's an obsolete feature that is not supported properly in modern browsers because it freezes the browser

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Pages