From 62125cad33f8ffb47e774698603ca1772cfdea43 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 22 May 2008 17:02:29 +0000 Subject: [PATCH] Fixed: encoding problem when adding non-ASCII issue category in the new issue page (#1286). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1442 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index f3d771a10..a8b6c0e46 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -56,7 +56,7 @@ function setPredecessorFieldsVisibility() { function promptToRemote(text, param, url) { value = prompt(text + ':'); if (value) { - new Ajax.Request(url + '?' + param + '=' + value, {asynchronous:true, evalScripts:true}); + new Ajax.Request(url + '?' + param + '=' + encodeURIComponent(value), {asynchronous:true, evalScripts:true}); return false; } }