mirror of https://github.com/xwiki-labs/cryptpad
Store the blob metadata the first time
This commit is contained in:
parent
89264758d2
commit
dd7fc83867
|
@ -115,6 +115,14 @@ define([
|
|||
var title = document.title = metadata.name;
|
||||
Title.updateTitle(title || Title.defaultTitle);
|
||||
|
||||
var owners = metadata.owners;
|
||||
if (owners) {
|
||||
common.setPadAttribute('owners', owners);
|
||||
}
|
||||
if (metadata.type) {
|
||||
common.setPadAttribute('fileType', metadata.type);
|
||||
}
|
||||
|
||||
toolbar.addElement(['pageTitle'], {pageTitle: title});
|
||||
toolbar.$rightside.append(common.createButton('forget', true));
|
||||
toolbar.$rightside.append(common.createButton('properties', true));
|
||||
|
|
Loading…
Reference in New Issue