silverstripe-scienceninjas/sapphire — comment on commit b5657c9fb487ebde8ac8ff166a2fbda25510e6fa
File: admin/javascript/LeftAndMain.js line 442
By chillu:

Was a bit sceptical if val() works for all fields symmetrically, particularly stuff like checkboxes and multi selects,
but seems to be the case (it passes arrays around for non-scalar values): http://api.jquery.com/val/