1
0
Fork 0
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:
Luke Pulverenti 2013-04-09 23:06:54 -04:00
parent 3232dc1403
commit 0379c723e9
2 changed files with 6 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<div class="content-primary">
<div class="readOnlyContent">
<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>

View file

@ -78,6 +78,8 @@
var html = "";
html += '<ul data-role="listview" data-inset="true" data-auto-enhanced="false" data-split-icon="Play">';
var currentCategory;
for (var i = 0, length = tasks.length; i < length; i++) {
@ -141,7 +143,9 @@
html += "</li>";
}
$('#ulScheduledTasks', page).html(html).listview('refresh');
html += "</ul>";
$('#divScheduledTasks', page).html(html).trigger('create');
},
startTask: function (id) {