Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.26
Description
Starting with 2.5.26 (works fine in 2.5.25) javascript generated by sj:submit does not handle the dynamic form id correctly. All the html-parts replace correctly expressions like %{courseID}, but the corresponding expression in the submit button's generated javascript shows %{courseID} instead of the value. The generated javascript in 2.5.25 was
options_submit_460127194.formids = "addexam_1234";
But in 2.5.26 it is:
options_submit_460127194.formids = "addexam_%{courseID}";
The containing s:form has id="addexam_%{courseID}"
Interestingly,the corresponding generated code by an sj:a handles the dynamic id correctly.