Project

General

Profile

Patch #1286 ยป application.js.patch

Chaoqun Zou, 2008-05-22 15:46

View differences:

application.js Locally Modified (Based On LOCAL)
56 56
function promptToRemote(text, param, url) {
57 57
    value = prompt(text + ':');
58 58
    if (value) {
59
        new Ajax.Request(url + '?' + param + '=' + value, {asynchronous:true, evalScripts:true});
59
        new Ajax.Request(url + '?' + param + '=' + encodeURIComponent(value), {asynchronous:true, evalScripts:true});
60 60
        return false;
61 61
    }
62 62
}
    (1-1/1)