From 6ec4197d12526ebcc4fd34b86de41b238a05a7fb Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 3 Mar 2013 11:44:33 +0000 Subject: [PATCH] fix indiancinema info view notes tooltip --- static/js/pandora/infoView.indiancinema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/infoView.indiancinema.js b/static/js/pandora/infoView.indiancinema.js index 1585ce8d..4c839379 100644 --- a/static/js/pandora/infoView.indiancinema.js +++ b/static/js/pandora/infoView.indiancinema.js @@ -408,7 +408,7 @@ pandora.ui.infoView = function(data) { + Object.keys(pandora.site.capabilities.canEditMetadata).map(function(level, i) { return ( i == 0 ? '' - : i < pandora.site.capabilities.canEditMetadata.length - 1 ? ', ' + : i < Ox.len(pandora.site.capabilities.canEditMetadata) - 1 ? ', ' : ' and ' ) + Ox.toTitleCase(level) })