]> source.dussan.org Git - redmine.git/commitdiff
Fixed: encoding problem when adding non-ASCII issue category in the new issue page...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 22 May 2008 17:02:29 +0000 (17:02 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 22 May 2008 17:02:29 +0000 (17:02 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1442 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index f3d771a10e077a6273b302b7912a40cda3d94cb3..a8b6c0e46cf809663ee0909fd74654697bfebd31 100644 (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;
     }
 }