no link if isMultiple

This commit is contained in:
j 2020-11-26 20:29:52 +01:00
parent 8ad02fb30d
commit ee17d0cf03
1 changed files with 16 additions and 14 deletions

View File

@ -421,20 +421,22 @@ pandora.ui.documentInfoView = function(data, isMixed) {
renderRightsLevel();
// Links
$('<div>')
.css({marginTop: '16px', marginBottom: '16px', pointer: 'cursor'})
.append('')
.append(
Ox.Theme.formatColor(null, 'gradient')
.html('View Document')
.css({poiner: 'cursor'})
.on({
click: function() {
pandora.UI.set({documentView: 'view'})
}
})
)
.appendTo($statistics);
if (!isMultiple) {
$('<div>')
.css({marginTop: '16px', marginBottom: '16px', pointer: 'cursor'})
.append('')
.append(
Ox.Theme.formatColor(null, 'gradient')
.html('View Document')
.css({poiner: 'cursor'})
.on({
click: function() {
pandora.UI.set({documentView: 'view'})
}
})
)
.appendTo($statistics);
}
function editMetadata(key, value) {
if (value != data[key]) {