titleImage, typo

This commit is contained in:
j 2012-01-16 19:11:05 +05:30
parent 4601f5ed4e
commit 7f0d008ca5
2 changed files with 3 additions and 5 deletions

View file

@ -1063,7 +1063,7 @@ class Item(models.Model):
if settings.USE_IMDB:
if len(self.itemId) == 7:
cmd += ['-i', self.itemId]
oxdbId = self.oxdbId or self.oxdb_id() or self.ItemId
oxdbId = self.oxdbId or self.oxdb_id() or self.itemId
cmd += ['-o', oxdbId]
else:
cmd += ['-i', self.itemId]

View file

@ -66,7 +66,6 @@ pandora.ui.filesView = function(options, self) {
return true;
},
format: function(value, data) {
Ox.Log('', 'File', value, data.wanted, data);
return $('<img>')
.attr({
src: data.wanted ? Ox.UI.getImageURL('symbolStar') :
@ -81,9 +80,8 @@ pandora.ui.filesView = function(options, self) {
},
id: 'selected',
operator: '-',
title: $('<img>').attr({
src: Ox.UI.getImageURL('symbolCheck')
}),
title: 'Status',
titleImage: 'check',
tooltip: function (data) {
return data.instances.filter(function(i) {return i.ignore; }).length > 0
? 'Use this file'