From dd7fc838672d941c9f9b5e0dbcd73a7197cd4e37 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 13 Jun 2019 11:17:43 +0200 Subject: [PATCH] Store the blob metadata the first time --- www/file/inner.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/www/file/inner.js b/www/file/inner.js index b184d6b9b..2f90235a7 100644 --- a/www/file/inner.js +++ b/www/file/inner.js @@ -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));