https://bugzilla.wikimedia.org/show_bug.cgi?id=21552
Summary: error in validate_type_of_multiple_fields (SF_FormUtils)
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=6798)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=6798)
patch for order error in validate_type_of_multiple_fields (SF_FormUtils)
I don't know if this covers more than dates, but at least for type=date, the
IDs for the field tags for multiple part fields in the form are in the format
"input_<<field_num>>_<<instance_num>>", example:
id="input_123_day"
id="input_123_month"
id="input_123_year"
. . .
This javascript was looking for them in the format
"input_<<instance_num>>_<<field_num>>", example:
id="input_day_123"
id="input_month_123"
id="input_year_123"
The attached patch fixes that order.
Unknown: Will this cause or fix problems with validate_type_of_multiple_fields
with type other than "date"?
Causes browser hangs in large forms
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l