Don't use cached in_wanted when re-adding movie

This commit is contained in:
Ruud
2012-09-30 17:33:51 +02:00
parent d38bd03422
commit a3b3b9c218

View File

@@ -339,7 +339,7 @@ Block.Search.Item = new Class({
'height': null,
'width': null
}) : null,
self.info.in_wanted ? new Element('span.in_wanted', {
self.info.in_wanted && self.info.in_wanted.profile ? new Element('span.in_wanted', {
'text': 'Already in wanted list: ' + self.info.in_wanted.profile.label
}) : (in_library ? new Element('span.in_library', {
'text': 'Already in library: ' + in_library.join(', ')