Remove duplicate error checking code.

This commit is contained in:
Colin Kuskie 2010-10-27 11:01:39 -07:00
parent 001cdafb09
commit 3a9d87cfa2

View file

@ -314,11 +314,6 @@
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;