search for: toquerypair

Displaying 3 results from an estimated 3 matches for "toquerypair".

2008 Jan 16
0
GET Using encodeURIComponent
...URIComponent in my personal JavaScript and call other personal method called "f_ajax" that implement the Ajax.Request. Then happens 2 encodeURIComponent with my params. Why the GET method make the encode? Could have an option in Ajax.Request to disable the encodeURIComponent in prototype (toQueryPair and toQueryString, today I remove encodeURIComponent in both methods). Can I use another option to resolve my problem? Regards! http://imera.com.br/js/prototype_1_6_0.js --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...return this.map(function(pair) { + return this.inject([], function(results, pair) { var key = encodeURIComponent(pair.key), values = pair.value; if (values && typeof values == 'object') { if (Object.isArray(values)) - return values.map(toQueryPair.curry(key)).join('&'); - } - return toQueryPair(key, values); + return results.concat(values.map(toQueryPair.curry(key))); + } else results.push(toQueryPair(key, values)); + return results; }).join('&'); }, @@ -1298,7 +131...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server