{9142eefa-7570-41e1-bfcc-468bb571af2f}
MediaBrowser.Common
diff --git a/MediaBrowser.WebDashboard/Html/scripts/DashboardPage.js b/MediaBrowser.WebDashboard/Html/scripts/DashboardPage.js
index 93163de79..848c6b1a0 100644
--- a/MediaBrowser.WebDashboard/Html/scripts/DashboardPage.js
+++ b/MediaBrowser.WebDashboard/Html/scripts/DashboardPage.js
@@ -252,8 +252,8 @@
html += task.Name;
if (task.State == "Running") {
- var progress = task.CurrentProgress || { PercentComplete: 0 };
- html += ' - ' + Math.round(progress.PercentComplete) + '%';
+ var progress = Math.round(task.CurrentProgressPercentage || 0);
+ html += ' - ' + progress + '%';
html += '';
}
diff --git a/MediaBrowser.WebDashboard/Html/scripts/ScheduledTasksPage.js b/MediaBrowser.WebDashboard/Html/scripts/ScheduledTasksPage.js
index d822db722..fe42396b4 100644
--- a/MediaBrowser.WebDashboard/Html/scripts/ScheduledTasksPage.js
+++ b/MediaBrowser.WebDashboard/Html/scripts/ScheduledTasksPage.js
@@ -119,8 +119,7 @@
}
else if (task.State == "Running") {
- var progress = task.CurrentProgress || { PercentComplete: 0 };
- progress = Math.round(progress.PercentComplete);
+ var progress = Math.round(task.CurrentProgressPercentage || 0);
html += '