|
|
@ -984,12 +984,18 @@ function initIssue() { |
|
|
|
$(item).addClass("no-checked"); |
|
|
|
$(item).addClass("no-checked"); |
|
|
|
|
|
|
|
|
|
|
|
$("#label-" + id, $labels).remove(); |
|
|
|
$("#label-" + id, $labels).remove(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($labels.children(".label-item").length == 0) { |
|
|
|
|
|
|
|
$labels.append("<p>None yet</p>"); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$(item).prepend('<span class="check pull-left"><i class="fa fa-check"></i></span>'); |
|
|
|
$(item).prepend('<span class="check pull-left"><i class="fa fa-check"></i></span>'); |
|
|
|
|
|
|
|
|
|
|
|
$(item).removeClass("no-checked"); |
|
|
|
$(item).removeClass("no-checked"); |
|
|
|
$(item).addClass("checked"); |
|
|
|
$(item).addClass("checked"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("p:not([class])", $labels).remove(); |
|
|
|
|
|
|
|
|
|
|
|
var $l = $("<p></p>"); |
|
|
|
var $l = $("<p></p>"); |
|
|
|
var c = $("span.color", item).css("background-color"); |
|
|
|
var c = $("span.color", item).css("background-color"); |
|
|
|
|
|
|
|
|
|
|
|