Store the blob metadata the first time

This commit is contained in:
yflory 2019-06-13 11:17:43 +02:00
parent 89264758d2
commit dd7fc83867
1 changed files with 8 additions and 0 deletions

View File

@ -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));