forked from 0x2620/pandora
add song title title
This commit is contained in:
parent
a62204dc06
commit
3395df7360
1 changed files with 7 additions and 2 deletions
|
@ -439,6 +439,12 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
|
|
||||||
// Songs
|
// Songs
|
||||||
if (data.songs || canEdit) {
|
if (data.songs || canEdit) {
|
||||||
|
$('<div>')
|
||||||
|
.css({
|
||||||
|
marginTop: '12px',
|
||||||
|
})
|
||||||
|
.html(formatKey('songs'))
|
||||||
|
.appendTo($text);
|
||||||
Ox.EditableContent({
|
Ox.EditableContent({
|
||||||
clickLink: pandora.clickLink,
|
clickLink: pandora.clickLink,
|
||||||
collapseToEnd: false,
|
collapseToEnd: false,
|
||||||
|
@ -449,7 +455,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
'<img style="float: left; max-width: 256px; max-height: 256px; margin: 0 16px 16px 0" src='
|
'<img style="float: left; max-width: 256px; max-height: 256px; margin: 0 16px 16px 0" src='
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
placeholder: formatLight(Ox._(isMixed.songs ? 'Mixed Songs' : 'No Songs')),
|
placeholder: formatLight(Ox._(isMixed.songs ? 'Mixed Songs' : 'unknown')),
|
||||||
tooltip: canEdit ? pandora.getEditTooltip() : '',
|
tooltip: canEdit ? pandora.getEditTooltip() : '',
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
value: data.songs || ''
|
value: data.songs || ''
|
||||||
|
@ -457,7 +463,6 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
})
|
})
|
||||||
.css(css)
|
.css(css)
|
||||||
.css({
|
.css({
|
||||||
marginTop: '12px',
|
|
||||||
overflow: 'hidden'
|
overflow: 'hidden'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
Loading…
Reference in a new issue