diff options
author | Badlop <badlop@process-one.net> | 2010-10-25 18:58:31 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-10-25 18:58:31 +0200 |
commit | 9c5f34794a38027d534d1747684f409381ffe243 (patch) | |
tree | 7e7a24102dc52b2ad6f37dada6ab7c3124a9ed06 | |
parent | Recompile the guide.html (diff) |
Workaround for Psi's wrong Type in form submission
Diffstat (limited to '')
-rw-r--r-- | src/jlib.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jlib.erl b/src/jlib.erl index e674c750..cbbdc3ce 100644 --- a/src/jlib.erl +++ b/src/jlib.erl @@ -457,6 +457,8 @@ parse_xdata_submit(El) -> case xml:get_attr_s("type", Attrs) of "submit" -> lists:reverse(parse_xdata_fields(Els, [])); + "form" -> %% This is a workaround to accept Psi's wrong forms + lists:reverse(parse_xdata_fields(Els, [])); _ -> invalid end. |