Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#988 closed defect (invalid)

dojo.io.FormBind submits multiple times

Reported by: steve@… Owned by: dylan
Priority: high Milestone:
Component: General Version: 0.3
Keywords: Cc: steve@…
Blocked By: Blocking:

Description

The first time a form is submitted in Firefox using dojo.io.FormBind? it submits fine. If the page is not reloaded, the next time the form is submitted it submits twice. The next time 3 times, etc.

Change History (5)

comment:1 Changed 13 years ago by bill

Cc: steve@… added

Testcase?

comment:2 Changed 13 years ago by steve@…

Summary: dojo.io.FormBind submits multiple times in Firefoxdojo.io.FormBind submits multiple times

I have a test case here:

http://www.mofon.net/testmultiple.taf

I have found that it's not limited to Firefox - it does it with all browsers I have tested on Mac and PC.

comment:3 Changed 13 years ago by dylan

Milestone: 0.4
Owner: changed from anonymous to dylan
Status: newassigned

comment:4 Changed 13 years ago by bill

Resolution: invalid
Status: assignedclosed

This isn't a bug, just a misunderstanding of how FormBind? works. (But it's not your fault; it's confusing to understand.) Anyway, please read the doc I wrote for this:

http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book23

The upshot is that you should only do the FormBind? once, on page load, not on form submission.

comment:5 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.