mirror of https://github.com/xwiki-labs/cryptpad
Merge branch 'soon'
This commit is contained in:
commit
8c42125ea0
|
@ -378,6 +378,10 @@ define([
|
|||
if (val.present) { $(link).find('#cp-share-present').attr('checked', true); }
|
||||
$(link).find('#cp-share-link-preview').val(getLinkValue(val));
|
||||
});
|
||||
common.getMetadataMgr().onChange(function () {
|
||||
hashes = common.getMetadataMgr().getPrivateData().availableHashes;
|
||||
$(link).find('#cp-share-link-preview').val(getLinkValue());
|
||||
});
|
||||
return tabs;
|
||||
};
|
||||
UIElements.createFileShareModal = function (config) {
|
||||
|
|
|
@ -625,6 +625,7 @@ define([
|
|||
// Update metadata values and send new metadata inside
|
||||
parsed = Utils.Hash.parsePadUrl(window.location.href);
|
||||
defaultTitle = Utils.Hash.getDefaultName(parsed);
|
||||
hashes = Utils.Hash.getHashes(secret.channel, secret);
|
||||
readOnly = false;
|
||||
updateMeta();
|
||||
|
||||
|
|
Loading…
Reference in New Issue