From 10a3606e2fab998b15fa77566ff777d5fd7b1818 Mon Sep 17 00:00:00 2001 From: Techywarrior Date: Tue, 30 Apr 2013 09:37:02 -0700 Subject: [PATCH] fixed numeric padding on auto formatted values --- dashboard-ui/scripts/Itemdetailpage.js | 4 ++-- dashboard-ui/scripts/librarybrowser.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 158ce2683e..092da30744 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -424,13 +424,13 @@ html += '
  • Aspect Ratio ' + stream.AspectRatio + '
  • '; } if (stream.BitRate) { - html += '
  • Bitrate ' + stream.BitRate + '
  • '; + html += '
  • Bitrate ' + stream.BitRate + '
  • '; } if (stream.Channels) { html += '
  • Channels ' + stream.Channels + '
  • '; } if (stream.SampleRate) { - html += '
  • Sample Rate ' + stream.SampleRate + '
  • '; + html += '
  • Sample Rate ' + stream.SampleRate + '
  • '; } var framerate = stream.AverageFrameRate || stream.RealFrameRate; diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 4969c94df7..7a1f4df715 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1282,7 +1282,7 @@ renderBudget: function (elem, item) { if (item.Budget) { - elem.show().html('Budget:  $' + item.Budget + ''); + elem.show().html('Budget:  $' + item.Budget + ''); } else { elem.hide(); } @@ -1290,7 +1290,7 @@ renderRevenue: function (elem, item) { if (item.Revenue) { - elem.show().html('Revenue:  $' + item.Revenue + ''); + elem.show().html('Revenue:  $' + item.Revenue + ''); } else { elem.hide(); }