From 3a9d87cfa249377ad5db2b158aef3d453805b247 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 27 Oct 2010 11:01:39 -0700 Subject: [PATCH] Remove duplicate error checking code. --- www/extras/shop/cart.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/www/extras/shop/cart.js b/www/extras/shop/cart.js index fdf6eda12..b6ba0dc72 100644 --- a/www/extras/shop/cart.js +++ b/www/extras/shop/cart.js @@ -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;