+ // ugly!
+ $.each(sandbox.getConfig().documentSaveForm.fields, function(i, field) {
+ if (field.name.indexOf('for_cybernauts') !== -1) {
+ field.checked = event.formData['textsave-for_cybernauts'] === 'on';
+ }
+ if (field.name.indexOf('publishable') !== -1) {
+ field.checked = event.formData['textsave-publishable'] === 'on';
+ }
+ });