You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/08 13:51:16 UTC
svn commit: r1729160 - /steve/trunk/pysteve/www/htdocs/js/steve_monitor.js
Author: humbedooh
Date: Mon Feb 8 12:51:16 2016
New Revision: 1729160
URL: http://svn.apache.org/viewvc?rev=1729160&view=rev
Log:
correctly count recasters
Modified:
steve/trunk/pysteve/www/htdocs/js/steve_monitor.js
Modified: steve/trunk/pysteve/www/htdocs/js/steve_monitor.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_monitor.js?rev=1729160&r1=1729159&r2=1729160&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_monitor.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_monitor.js Mon Feb 8 12:51:16 2016
@@ -234,10 +234,11 @@ function showChanges(issue) {
var fuid = {}
for (var z in backlog[issue.id]) {
var v = backlog[issue.id][z]
- fuid[v.uid] = true
+ fuid[v.uid] = fuid[v.uid] ? fuid[v.uid] : 0
+ fuid[v.uid]++
}
for (var x in fuid) {
- nrc++;
+ if (fuid[x] > 1) nrc++;
}
header.innerHTML = ""
if (riggedIssues[issue.id] && riggedIssues[issue.id].length > 0) {