# HG changeset patch # User Nathan Phillip Brink # Date 2011-04-07 15:17:16 # Node ID 6d14f4b9bc8d4194de9854968f127f4cf58b6a65 # Parent a569f5a9e624eb1b53c9105c765f07adb87edc06 Fix problem when clicking ``Register for Classes'' where an XHTML validation error was thrown. This error was caused by the ajax request using the HTTP GET method instead of POST. The HTTP GET method has a limitted length and the serialized querystring was much longer than that limit, causing fun errors. Perhaps this querystring limit was even on the browser side instead of apache-side... or perhaps apache was returning an error page to the browser about the querystring. diff --git a/scripts/displayTables.js b/scripts/displayTables.js --- a/scripts/displayTables.js +++ b/scripts/displayTables.js @@ -96,7 +96,8 @@ function slate_permutate_load(target, da error: function(xhr_jq, status_text, error) { error_handler(target, status_text, null); - } + }, + type: 'POST' }); }