community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1664862 - /comdev/reporter.apache.org/site/render.js
Date Sat, 07 Mar 2015 15:09:17 GMT
Author: humbedooh
Date: Sat Mar  7 15:09:17 2015
New Revision: 1664862

URL: http://svn.apache.org/r1664862
Log:
a lil' alert box

Modified:
    comdev/reporter.apache.org/site/render.js

Modified: comdev/reporter.apache.org/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/site/render.js?rev=1664862&r1=1664861&r2=1664862&view=diff
==============================================================================
--- comdev/reporter.apache.org/site/render.js (original)
+++ comdev/reporter.apache.org/site/render.js Sat Mar  7 15:09:17 2015
@@ -724,11 +724,14 @@ function fetchJIRA(pmc, project, prepend
 		GetAsyncJSON("/jiraversions.py?project=" + pmc + "&jiraname=" + project + "&prepend="
+ prepend, null,
 		 function(json) {
 			if (json && json.versions) {
+				var n = 0;
 				for (version in json.versions) {
+					n++;
 					jsdata.releases[pmc][version] = json.versions[version]
 				}
 				$('#dialog_' + pmc).dialog("close")
 				var nproject = pmc
+				alert("Fetched " + n + " releases from JIRA!")
 				renderFrontPage(jsdata)
 				
 			} else {



Mime
View raw message