Merge branch 'staging' into donkey

This commit is contained in:
yflory
2018-05-31 13:28:14 +02:00
9 changed files with 52 additions and 23 deletions

View File

@@ -393,8 +393,11 @@ define([
val = val || {};
if (val.edit === false) {
$(link).find('#cp-share-editable-false').prop('checked', true);
$(link).find('#cp-share-editable-true').prop('checked', false);
} else {
$(link).find('#cp-share-editable-true').prop('checked', true);
$(link).find('#cp-share-editable-false').prop('checked', false);
}
else { $(link).find('#cp-share-editable-true').prop('checked', true); }
if (val.embed) { $(link).find('#cp-share-embed').prop('checked', true); }
if (val.present) { $(link).find('#cp-share-present').prop('checked', true); }
$(link).find('#cp-share-link-preview').val(getLinkValue(val));