# HG changeset patch # User Lennard de Rijk # Date 1238527543 0 # Node ID 3aa6123be2a777cbf8009e1a162b41b4f567103d # Parent 66045290c97fb8849e37b9f738978fb51239950d Now using GET request for getting the data. This will prevent a 411 error from occurring on a live website. Also the URL does not need the timestamp since it already is added automatically. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 66045290c97f -r 3aa6123be2a7 app/soc/content/js/duplicate-slots-090331.js --- a/app/soc/content/js/duplicate-slots-090331.js Tue Mar 31 19:25:17 2009 +0000 +++ b/app/soc/content/js/duplicate-slots-090331.js Tue Mar 31 19:25:43 2009 +0000 @@ -68,10 +68,10 @@ $.ajax({ cache:false, mode: "sync", - type: "POST", + type: "GET", timeout: 1000000, dataType: "json", - url: "/program/assigned_proposals/"+url_to_query+"?limit="+OFFSET_LENGTH+"&offset="+current_offset+"&_="+(new Date().getTime()), + url: "/program/assigned_proposals/"+url_to_query+"?limit="+OFFSET_LENGTH+"&offset="+current_offset, success: function (data, textStatus) { if (data) { // Load JSON data