dont show name for featured lists

This commit is contained in:
j 2012-02-24 02:20:15 +05:30
parent 9a8e40adec
commit fcf1b706da

View file

@ -175,7 +175,10 @@ pandora.ui.listInfo = function() {
$title = Ox.Editable({
editable: editable,
format: function(value) {
return Ox.encodeHTML(editable ? value : item.user + ': ' + value)
return Ox.encodeHTML(
item.status == 'featured' || editable
? value
: item.user + ': ' + value)
},
tooltip: editable ? 'Doubleclick to edit title' : '',
value: item.name,