info view: don't make pages a link
This commit is contained in:
parent
66d8b7f252
commit
8ad452378d
1 changed files with 5 additions and 6 deletions
|
@ -130,10 +130,6 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
: '';
|
||||
}
|
||||
|
||||
function identify(data) {
|
||||
oml.$ui.identifyDialog = oml.ui.identifyDialog(data).open();
|
||||
}
|
||||
|
||||
function renderIdentifyButton(data) {
|
||||
return Ox.Button({
|
||||
disabled: data.mediastate != 'available',
|
||||
|
@ -144,7 +140,7 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
.css({marginTop: '8px'})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
identify(data);
|
||||
oml.$ui.identifyDialog = oml.ui.identifyDialog(data).open();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -550,7 +546,10 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
clickLink: oml.clickLink,
|
||||
editable: isEditable,
|
||||
format: function(value) {
|
||||
return formatValue(
|
||||
return (
|
||||
Ox.contains(['series', 'language'], key)
|
||||
? formatValue : Ox.identity
|
||||
)(
|
||||
Ox.contains(arrayKeys, key)
|
||||
? splitValue(value) : value,
|
||||
key
|
||||
|
|
Loading…
Reference in a new issue