mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2025-09-10 22:43:50 +02:00
isolated clickonce dependancies
This commit is contained in:
@@ -252,8 +252,8 @@
|
||||
html += task.Name;
|
||||
|
||||
if (task.State == "Running") {
|
||||
var progress = task.CurrentProgress || { PercentComplete: 0 };
|
||||
html += '<span style="color:#267F00;margin-right:5px;font-weight:bold;"> - ' + Math.round(progress.PercentComplete) + '%</span>';
|
||||
var progress = Math.round(task.CurrentProgressPercentage || 0);
|
||||
html += '<span style="color:#267F00;margin-right:5px;font-weight:bold;"> - ' + progress + '%</span>';
|
||||
|
||||
html += '<button type="button" data-icon="stop" data-iconpos="notext" data-inline="true" data-theme="b" data-mini="true" onclick="DashboardPage.stopTask(\'' + task.Id + '\');">Stop</button>';
|
||||
}
|
||||
|
||||
@@ -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 += '<p><progress max="100" value="' + progress + '" title="' + progress + '%">';
|
||||
html += '' + progress + '%';
|
||||
|
||||
Reference in New Issue
Block a user