From 05874b04b4e91df0f09994071d0a19f7ee35d790 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 9 May 2016 19:09:09 -0400 Subject: Fixing bugview's assign icon --- ws2a/bugview.js | 6 +++--- 1 file 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 = "Unassigned"; - }else if(status.substring(0,2) == "1:"){ + }else if(statustext.substring(0,2) == "1:"){ statusicon = "" + status.substring(2) + ""; - }else if(status == "2:"){ + }else if(statustext == "2:"){ statusicon = "Closed"; } -- cgit v1.2.3-70-g09d2