fix indiancinema info view notes tooltip

This commit is contained in:
rolux 2013-03-03 11:44:33 +00:00
parent c2dfb6f2e4
commit 6ec4197d12

View file

@ -408,7 +408,7 @@ pandora.ui.infoView = function(data) {
+ Object.keys(pandora.site.capabilities.canEditMetadata).map(function(level, i) { + Object.keys(pandora.site.capabilities.canEditMetadata).map(function(level, i) {
return ( return (
i == 0 ? '' i == 0 ? ''
: i < pandora.site.capabilities.canEditMetadata.length - 1 ? ', ' : i < Ox.len(pandora.site.capabilities.canEditMetadata) - 1 ? ', '
: ' and ' : ' and '
) + Ox.toTitleCase(level) ) + Ox.toTitleCase(level)
}) })