Remove duplicate error checking code.
This commit is contained in:
parent
001cdafb09
commit
3a9d87cfa2
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue