From fcf1b706dacc60d7bd5dc27f3cb0cc6dca3fc984 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 24 Feb 2012 02:20:15 +0530 Subject: [PATCH] dont show name for featured lists --- static/js/pandora/info.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 94e8866d..cd6bf650 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -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,