? Failure

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
7 Nov 2013

Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32564&start=0

This change first of all simplifies an unnecessarily verbose if/else block. That part of the change affects only code readability, there is no change whatsoever to functionality at this point.

Then, if the field handles multiple values but no value has been set, the value is set to empty array. This way, if the field has one or more default values but the user chooses to deselect them, the field will not reselect the default values when the form is loaded again in the future.

avatar okonomiyaki3000 okonomiyaki3000 - open - 7 Nov 2013
avatar okonomiyaki3000 okonomiyaki3000 - close - 29 Nov 2013
avatar okonomiyaki3000
okonomiyaki3000 - comment - 29 Nov 2013

Started a new PR to staging instead of master. Closing.

avatar okonomiyaki3000 okonomiyaki3000 - change - 29 Nov 2013
Status New Closed
Closed_Date 0000-00-00 00:00:00 2013-11-29 05:41:10
avatar okonomiyaki3000 okonomiyaki3000 - close - 29 Nov 2013

Add a Comment

Login with GitHub to post a comment