diff --git a/static/js/pandora/infoView.indiancinema.js b/static/js/pandora/infoView.indiancinema.js index 1585ce8de..4c8393791 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) })