diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 19:09:09 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 19:09:09 -0400 |
| commit | 05874b04b4e91df0f09994071d0a19f7ee35d790 (patch) | |
| tree | 0dc182da182c3636e5f787cd86ac0ffe674d14f3 /ws2a/bugview.js | |
| parent | 24bc5d26e5c711ef2b4e0bd5683b38a114000de3 (diff) | |
| download | webpage-05874b04b4e91df0f09994071d0a19f7ee35d790.tar.gz webpage-05874b04b4e91df0f09994071d0a19f7ee35d790.tar.bz2 webpage-05874b04b4e91df0f09994071d0a19f7ee35d790.zip | |
Fixing bugview's assign icon
Diffstat (limited to 'ws2a/bugview.js')
| -rw-r--r-- | ws2a/bugview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ws2a/bugview.js b/ws2a/bugview.js index b5da460..0f1d5c6 100644 --- a/ws2a/bugview.js +++ b/ws2a/bugview.js @@ -38,11 +38,11 @@ function loadLastBugs() { document.getElementById("shortdesc").innerHTML = htmlEscape(parts[3]); var statustext = parts[4]; var statusicon = "" - if(status == "0:"){ + if(statustext == "0:"){ statusicon = "<span class=\"label label-default\">Unassigned</span>"; - }else if(status.substring(0,2) == "1:"){ + }else if(statustext.substring(0,2) == "1:"){ statusicon = "<span class=\"label label-info\">" + status.substring(2) + "</span>"; - }else if(status == "2:"){ + }else if(statustext == "2:"){ statusicon = "<span class=\"label label-success\">Closed</span>"; } |
