Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.8, 2.1.9, 2.1.10, 2.2
-
None
-
None
-
Normal
-
Patch available
Description
Special workaround IE Bug for
<button type="button" title="row up" name="results.0.columns.0.result-column-move-up" id="results.0.columns.0.result-column-move-up"
value="row up" onClick="forms_submitForm(this);"><img src="up.gif" border="0"></button>
The IE returns the values of all button in every row, so there are multiple submitWidgets!
My Workaround is using the onClick-Event to remember the button name by using the known js-function "forms_submitForm(this)". In the Action-class I check if the field "forms_submit_id" is set and use this as SubmitWidget.
I'm using this patch since 1 year and it works fine.
<button type="button" title="row up" name="results.0.columns.0.result-column-move-up" id="results.0.columns.0.result-column-move-up"
value="row up" onClick="forms_submitForm(this);"><img src="up.gif" border="0"></button>
The IE returns the values of all button in every row, so there are multiple submitWidgets!
My Workaround is using the onClick-Event to remember the button name by using the known js-function "forms_submitForm(this)". In the Action-class I check if the field "forms_submit_id" is set and use this as SubmitWidget.
I'm using this patch since 1 year and it works fine.