From 52f95b3ca45678633d06100c0ec1f5d14be0fef7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 6 Nov 2011 20:59:50 +0100 Subject: [PATCH] items have no statusbar --- static/js/pandora/clipList.js | 2 +- static/js/pandora/item.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/static/js/pandora/clipList.js b/static/js/pandora/clipList.js index de563dd31..6ac4aaf2c 100644 --- a/static/js/pandora/clipList.js +++ b/static/js/pandora/clipList.js @@ -91,7 +91,7 @@ pandora.ui.clipList = function(videoRatio) { .bindEvent({ init: function(data) { // fixme: status needs an overhaul - if (!ui.item) { + if (!ui.item && pandora.$ui.total) { pandora.$ui.total.html(pandora.ui.status('total', data)); } }, diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index c1ad45e29..71d2b2c5a 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -360,12 +360,6 @@ pandora.ui.item = function() { }) ); } - - if (result.data) { - var director = result.data.director ? ' ('+result.data.director.join(', ') + ')' : ''; - pandora.$ui.total.html(result.data.title + director); - } - }); return that;