removed alert('failure')
using alerts (especially with no information beyond just 'it failed') is terrible user experience
This commit is contained in:
parent
e5ba207711
commit
24280e82fa
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ function fetchRelatives(node) {
|
|||
}
|
||||
},
|
||||
error: function () {
|
||||
alert('failure');
|
||||
console.log('failed to recenter');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -392,4 +392,4 @@ function cancelMapCreate(id) {
|
|||
form.find('.mapCommonsIcon').addClass('selected');
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue