From b1a4924063e5df0f2408e995c52da91114a75548 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 3 Mar 2013 12:38:41 +0000 Subject: [PATCH] fix icon item info --- static/js/pandora/browser.js | 3 +++ static/js/pandora/clipList.js | 3 +++ static/js/pandora/list.js | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/static/js/pandora/browser.js b/static/js/pandora/browser.js index dafc650a5..2e7cb7524 100644 --- a/static/js/pandora/browser.js +++ b/static/js/pandora/browser.js @@ -90,6 +90,9 @@ pandora.ui.browser = function() { )['format' + Ox.toTitleCase(format.type)].apply( this, [data[sortKey]].concat(format.args || []) ); + if (sortKey == 'rightslevel') { + info.css({width: '96px'}); + } } else { info = data[sortKey]; } diff --git a/static/js/pandora/clipList.js b/static/js/pandora/clipList.js index 3d18ea263..6e016b843 100644 --- a/static/js/pandora/clipList.js +++ b/static/js/pandora/clipList.js @@ -47,6 +47,9 @@ pandora.ui.clipList = function(videoRatio) { )['format' + Ox.toTitleCase(format.type)].apply( this, [data[sortKey]].concat(format.args || []) ); + if (sortKey == 'rightslevel') { + info.css({width: '96px'}); + } } else { info = data[sortKey]; } diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index a9a70252c..c9924572a 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -142,6 +142,9 @@ pandora.ui.list = function() { )['format' + Ox.toTitleCase(format.type)].apply( this, [data[sortKey]].concat(format.args || []) ); + if (sortKey == 'rightslevel') { + info.css({width: '96px'}); + } } else { info = data[sortKey]; } @@ -197,6 +200,9 @@ pandora.ui.list = function() { )['format' + Ox.toTitleCase(format.type)].apply( this, [data[sortKey]].concat(format.args || []) ); + if (sortKey == 'rightslevel') { + info.css({width: '96px'}); + } } else { info = data[sortKey]; } @@ -279,6 +285,9 @@ pandora.ui.list = function() { )['format' + Ox.toTitleCase(format.type)].apply( this, [data[sortKey]].concat(format.args || []) ); + if (sortKey == 'rightslevel') { + info.css({width: '96px'}); + } } else { info = data[sortKey]; }