This project is archived and is in readonly mode.

#502 ✓resolved
Aicke Schulz

Form.Request requestOptions URL is ignored / overwritten

Reported by Aicke Schulz | February 2nd, 2011 @ 05:04 PM | in 1.3.1.1

After wondering why the following does't work:


new Form.Request(formElement, updateElement, {
  requestOptions: {
    url: 'a_valid_url',
  }
});

I've checked the url parameter even at the Request class (with console.log), and the url was'nt used, instead the form action was.

I think i've found the problem in the send function of Form.Request:


this.request.send({data: str, url: this.element.get("action")});

It's very annoying. Maybe that ticket created the problem?

Comments and changes to this ticket

Create your profile

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

The MooTools Extensions

People watching this ticket

Pages