[BUGFIX] Ignore hidden fields when un-/hiding fields 31/46231/2
authorChristian Futterlieb <christian@futterlieb.ch>
Mon, 25 Jan 2016 17:06:07 +0000 (18:06 +0100)
committerAlex Kellner <alexander.kellner@einpraegsam.net>
Mon, 25 Jan 2016 17:42:35 +0000 (18:42 +0100)
commitcd86a774732c9b4c41932dfb19914776b5c850a5
tree55db5619296c02cbb262c5606b045d3f83845c0e
parent160f08aa274f9d5a949a9cbbb88620cdaa2bdb37
[BUGFIX] Ignore hidden fields when un-/hiding fields

This applies only, when a checkbox field has to be hidden, because
the first field matching the rule in getFieldByMarker() will be the
hidden field (which is always generated by <f:form.checkbox/>).

Because fields with type="hidden" can never be unhidden, it is safe to
completely ignore them.

Change-Id: I09d428b0bf73b6067d939420718c646c67346c22
Resolves: #72486
Reviewed-on: https://review.typo3.org/46231
Reviewed-by: Alex Kellner <alexander.kellner@einpraegsam.net>
Tested-by: Alex Kellner <alexander.kellner@einpraegsam.net>
Resources/Public/JavaScript/PowermailCondition.js