Skip to content
Snippets Groups Projects
Commit 759f8129 authored by srosse's avatar srosse
Browse files

OO-3632: fix toggle of metadata with some settings

parent 54a9f7ba
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ public class MetaInfoController extends FormBasicController {
licenseFreetextEl = uifactory.addStaticTextElement("mf.freetext",
LicenseUIFactory.getFormattedLicenseText(license), formLayout);
}
;
}
// creator
String creatorVal = StringHelper.escapeHtml(meta != null ? meta.getCreator() : null);
......@@ -188,10 +188,11 @@ public class MetaInfoController extends FormBasicController {
// url/link
String urlVal = StringHelper.escapeHtml(meta != null ? meta.getUrl() : null);
url = uifactory.addStaticTextElement("mf.url", urlVal, formLayout);}
url = uifactory.addStaticTextElement("mf.url", urlVal, formLayout);
/* static fields */
String sizeText, typeText;
String sizeText;
String typeText;
if (item instanceof VFSLeaf) {
sizeText = Formatter.formatBytes(((VFSLeaf) item).getSize());
typeText = FolderHelper.extractFileType(item.getName(), getLocale());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment