should actually fix the bug when we note it in the changelog

This commit is contained in:
Paul Driver 2010-09-01 10:21:18 -05:00
parent 0170de96cb
commit e8dfffe53e
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,6 @@
7.10.0
- fixed #11812: Checking www_ajaxSave's response in the cart js
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding
post parameters
7.9.13
- fixed #11783: Instances deleted during realtime run

View file

@ -305,6 +305,11 @@
return;
}
if (!id.match(/^[A-Za-z0-9_-]{22}$/)) {
alert('Error: bad response trying to save address.');
return;
}
function updateOne(dropdown) {
var opt = _.detect(dropdown.options, function (o) {
return o.text === label;
@ -406,7 +411,7 @@
var url = this.baseUrl,
cb = { success: success },
query = _(params).map(function (v, k) {
return [k, v].join('=');
return [k, escape(v)].join('=');
}).join('&');
if (method === 'GET') {