From 7f0d008ca5bcc536dd415c2af922c3634672f955 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 16 Jan 2012 19:11:05 +0530 Subject: [PATCH] titleImage, typo --- pandora/item/models.py | 2 +- static/js/pandora/filesView.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 815135efd..616800287 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -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] diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index 62f93b152..fc1da1495 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -66,7 +66,6 @@ pandora.ui.filesView = function(options, self) { return true; }, format: function(value, data) { - Ox.Log('', 'File', value, data.wanted, data); return $('') .attr({ src: data.wanted ? Ox.UI.getImageURL('symbolStar') : @@ -81,9 +80,8 @@ pandora.ui.filesView = function(options, self) { }, id: 'selected', operator: '-', - title: $('').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'