From bd6d94a1433870e87551757a7a7e0fb3e53df362 Mon Sep 17 00:00:00 2001 From: Bernie Chiu Date: Fri, 4 Oct 2013 17:48:58 +0800 Subject: [PATCH] Comment out JavaScript redirect workaround --- .../app/views/panel/ask/front_end/ask_questions/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/ask_new/app/views/panel/ask/front_end/ask_questions/index.html.erb b/vendor/built_in_modules/ask_new/app/views/panel/ask/front_end/ask_questions/index.html.erb index 72ac88d59..9a6721a2a 100644 --- a/vendor/built_in_modules/ask_new/app/views/panel/ask/front_end/ask_questions/index.html.erb +++ b/vendor/built_in_modules/ask_new/app/views/panel/ask/front_end/ask_questions/index.html.erb @@ -21,7 +21,7 @@ $(document).ready(function(){ $(this).hide(); }).bind("ajaxError", function() { $(this).hide(); - window.location.href = "<%= panel_ask_front_end_thank_you_path %>"; + // window.location.href = "<%= panel_ask_front_end_thank_you_path %>"; }); });