Development

#2960 (jq_submit_to_remote fails to fetch the formdata)

You must first sign up to be able to contribute.

Ticket #2960 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

jq_submit_to_remote fails to fetch the formdata

Reported by: soeren Assigned to: francois
Priority: minor Milestone:
Component: sfJqueryPlugin Version: 1.0.10
Keywords: serialize jq_submit_to_remote Cc:
Qualification: Unreviewed

Description

When using jq_submit_to_remote the JS code to fetch the form fields fails.

 if (!isset($options['with']))
	{
		$options['with'] = 'this.form.serialize()';
	}

has to be replaced by:

 if (!isset($options['with']))
	{
		$options['with'] = $(this.form.elements).serialize()';
	}

The passing of the "with" option should also take place without the "'", else the js would not be executed.

Change History

03/04/08 02:08:00 changed by Tiago.Ribeiro

  • status changed from new to closed.
  • resolution set to fixed.

fixed: (In [7732]) Fixes #2960