diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-22 17:02:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-22 17:02:29 +0000 |
commit | 62125cad33f8ffb47e774698603ca1772cfdea43 (patch) | |
tree | 0f74f66202a6037de3a17879b62f6d867c81f971 /public/javascripts/application.js | |
parent | e5bc1d370a12aba5273d32ee8bf45f39aaa916cc (diff) | |
download | redmine-62125cad33f8ffb47e774698603ca1772cfdea43.tar.gz redmine-62125cad33f8ffb47e774698603ca1772cfdea43.zip |
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
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r-- | public/javascripts/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |