fix problem with delete
[fnpeditor.git] / src / editor / modules / data / data.js
index 6e8ec93..789899c 100644 (file)
@@ -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);