form empty action does not work with major browsers (<form action="" ... />) #84

Open
pyjsorg opened this Issue Apr 27, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@pyjsorg
Contributor

pyjsorg commented Apr 27, 2012

  1. FormPanel(...).setAction("")

The form is posted to the current page URL, as it supposed to do,
though the onSubmitComplete() function is not triggered.

Git version: 09f812c
OS: Debian testing
Tested and doesn't work with: FF 3.6&5, IE6, Opera 11.50
Tested and works with: Chrome 14

Workaround:
Explicitly set the action to be the current page URL,
FormPanel(...).setAction(Window.getLocation().getHref())

No traces are printed to the firebug console.

pyjsbuild options: --print-statements

Attached an example code.

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=639 (August 09, 2011 11:23:56)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment