git-svn-id: http://redmine.rubyforge.org/svn/trunk@1442 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/0.8.0-RC1
@@ -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; | |||
} | |||
} |