Browse Source

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
tags/0.8.0-RC1
Jean-Philippe Lang 16 years ago
parent
commit
62125cad33
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      public/javascripts/application.js

+ 1
- 1
public/javascripts/application.js View File

@@ -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;
}
}

Loading…
Cancel
Save