summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-22 17:02:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-22 17:02:29 +0000
commit62125cad33f8ffb47e774698603ca1772cfdea43 (patch)
tree0f74f66202a6037de3a17879b62f6d867c81f971 /public/javascripts/application.js
parente5bc1d370a12aba5273d32ee8bf45f39aaa916cc (diff)
downloadredmine-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.js2
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;
}
}