From 96f64e0f3e9b2304ffb6eacd75a7f7114cf89a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Mon, 29 Sep 2014 11:25:33 +0200 Subject: [PATCH] Fix #209: use a proxy to access community tickets data. --- resources/js/main.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/js/main.js b/resources/js/main.js index 105f075d0..342354c09 100755 --- a/resources/js/main.js +++ b/resources/js/main.js @@ -613,11 +613,9 @@ $(document).ready(function(){ * the construction of the display, in doPopulateTicketsPane(). */ $.ajax({ - url: "https://issues.scala-lang.org/rest/api/2/search?jql=project+in+%28SI,SUGGEST%29+AND+status+%3D+Open+AND+labels+%3D+community+ORDER+BY+component&maxResults="+MAX_TICKETS_PER_PAGE+'&startAt='+startAt+'&fields=summary,issuetype,priority,components,description', + url: "http://www.scala-lang.org/cgi-bin/community-tickets?jql=project+in+%28SI,SUGGEST%29+AND+status+%3D+Open+AND+labels+%3D+community+ORDER+BY+component&maxResults="+MAX_TICKETS_PER_PAGE+'&startAt='+startAt+'&fields=summary,issuetype,priority,components,description', type: "GET", - dataType: "jsonp", - jsonp: 'jsonp-callback', - crossDomain: true, + dataType: "json", success: onAjaxSuccess, error: onAjaxError });