Browse Source

Merge pull request #325 from nuss-justin/dev

Remove 'None yet' message when adding first label to issue.
tags/v1.2.0-rc1
无闻 11 years ago
parent
commit
0a739cf9ac
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      public/js/app.js

+ 6
- 0
public/js/app.js View File

@@ -984,11 +984,17 @@ function initIssue() {
$(item).addClass("no-checked");

$("#label-" + id, $labels).remove();
if ($labels.children(".label-item").length == 0) {
$labels.append("<p>None yet</p>");
}
} else {
$(item).prepend('<span class="check pull-left"><i class="fa fa-check"></i></span>');

$(item).removeClass("no-checked");
$(item).addClass("checked");
$("p:not([class])", $labels).remove();

var $l = $("<p></p>");
var c = $("span.color", item).css("background-color");


Loading…
Cancel
Save