Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Form send async=false fires onSuccess twice

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

someFunction - executed twice.

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

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • 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

    March 14th, 2012 @ 12:28 PM

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.