Style new tasks so we can identify them and avoid double-load
This commit is contained in:
@@ -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 + '"\
|
||||
|
Reference in New Issue
Block a user