From 042923686ca7d7a8eb26fba6eb180aba4029f27f Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 6 Nov 2012 14:39:18 +0100 Subject: [PATCH] Fixing bug when saving exercises, apache error "Request-URI Too Large" see BT#5151 --- main/exercice/exercise_submit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/exercice/exercise_submit.php b/main/exercice/exercise_submit.php index 05972522b8..5fe80e3b7f 100644 --- a/main/exercice/exercise_submit.php +++ b/main/exercice/exercise_submit.php @@ -837,6 +837,7 @@ if (!empty($error)) { $("#save_for_now_"+question_id).html("'.addslashes(Display::return_icon('loading1.gif')).'"); $.ajax({ + type:"post", url: "'.api_get_path(WEB_AJAX_PATH).'exercise.ajax.php?a=save_exercise_by_now", data: "'.$params.'&type=simple&question_id="+question_id+"&"+my_choice+"&"+hotspot+"&"+remind_list, success: function(return_value) { @@ -900,6 +901,7 @@ if (!empty($error)) { $("#save_all_reponse").html("'.addslashes(Display::return_icon('loading1.gif')).'"); $.ajax({ + type:"post", url: "'.api_get_path(WEB_AJAX_PATH).'exercise.ajax.php?a=save_exercise_by_now", data: "'.$params.'&type=all&"+my_choice+"&"+hotspot+"&"+free_answers+"&"+remind_list, success: function(return_value) {