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 settings.USE_IMDB:
if len(self.itemId) == 7: if len(self.itemId) == 7:
cmd += ['-i', self.itemId] 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] cmd += ['-o', oxdbId]
else: else:
cmd += ['-i', self.itemId] cmd += ['-i', self.itemId]

View file

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