community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1663867 - /comdev/reporter.apache.org/site/render.js
Date Wed, 04 Mar 2015 07:10:51 GMT
Author: humbedooh
Date: Wed Mar  4 07:10:50 2015
New Revision: 1663867

URL: http://svn.apache.org/r1663867
Log:
allow users to cancel jira fetching

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=1663867&r1=1663866&r2=1663867&view=diff
==============================================================================
--- comdev/reporter.apache.org/site/render.js (original)
+++ comdev/reporter.apache.org/site/render.js Wed Mar  4 07:10:50 2015
@@ -647,5 +647,8 @@ function renderReleaseChart(releases, na
 
 function fetchJIRA(pmc) {
 	var jiraname = window.prompt("Please enter the JIRA project name (e.g. TS): ")
-	GetAsyncJSON("/jiraversions.py?project=" + pmc + "&jiraname=" + jiraname, null, function()
{ alert("Information has been fetched, please reload this page!"); })
+	if (jiraname) {
+		GetAsyncJSON("/jiraversions.py?project=" + pmc + "&jiraname=" + jiraname, null, function()
{ alert("Information has been fetched, please reload this page!"); })
+	}
+	
 }
\ No newline at end of file



Mime
View raw message