Style new tasks so we can identify them and avoid double-load

This commit is contained in:
2017-02-14 16:16:20 +01:00
parent b545288851
commit 76108c9c16
2 changed files with 6 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ function item_open(item_id, item_type, pushState, project_url)
$('#item-details').html(item_data);
$('#col_right .col_header span.header_text').text(item_type + ' details');
current_item
.removeClass('processing')
.removeClass('processing newborn')
.addClass('active');
}).fail(function(xhr) {
@@ -189,7 +189,7 @@ function task_add(shot_id, task_id, task_type)
/* WARNING: This is a copy of an element of attract/shots/for_project .item-list.col-list
* If that changes, change this too. */
$list_cell.append('\
<a class="status-todo task-link active"\
<a class="status-todo task-link active newborn"\
title="-save your task first-"\
href="' + url + '"\
data-task-id="' + task_id + '"\