X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/291bac0b1569b072f98e7622a64569330a1eb4e2..949f04475963f4f2ae93f7a2a84ed577420514c6:/src/editor/modules/data/data.js?ds=sidebyside diff --git a/src/editor/modules/data/data.js b/src/editor/modules/data/data.js index 6e8ec93..789899c 100644 --- a/src/editor/modules/data/data.js +++ b/src/editor/modules/data/data.js @@ -201,6 +201,9 @@ return function(sandbox) { 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'; + } }); event.success(); sandbox.publish('savingEnded', 'success', 'remote', data);