mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #13 - Scheduled Tasks - Need 2 mouse clicks on any items to start
This commit is contained in:
parent
3232dc1403
commit
0379c723e9
2 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
<div class="readOnlyContent">
|
<div class="readOnlyContent">
|
||||||
<p>Below are Media Browser's scheduled tasks. Click into a task to adjust it's schedule.</p>
|
<p>Below are Media Browser's scheduled tasks. Click into a task to adjust it's schedule.</p>
|
||||||
<ul id="ulScheduledTasks" data-role="listview" data-inset="true" data-auto-enhanced="false" data-split-icon="Play"></ul>
|
<div id="divScheduledTasks"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -78,6 +78,8 @@
|
||||||
|
|
||||||
var html = "";
|
var html = "";
|
||||||
|
|
||||||
|
html += '<ul data-role="listview" data-inset="true" data-auto-enhanced="false" data-split-icon="Play">';
|
||||||
|
|
||||||
var currentCategory;
|
var currentCategory;
|
||||||
|
|
||||||
for (var i = 0, length = tasks.length; i < length; i++) {
|
for (var i = 0, length = tasks.length; i < length; i++) {
|
||||||
|
@ -141,7 +143,9 @@
|
||||||
html += "</li>";
|
html += "</li>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#ulScheduledTasks', page).html(html).listview('refresh');
|
html += "</ul>";
|
||||||
|
|
||||||
|
$('#divScheduledTasks', page).html(html).trigger('create');
|
||||||
},
|
},
|
||||||
|
|
||||||
startTask: function (id) {
|
startTask: function (id) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue