Handle attendee conflicts in the Web interface

See @d7b010
This commit is contained in:
Francis Lachapelle
2016-02-15 16:03:16 -05:00
parent f2ffb52318
commit d56d9f8b08
9 changed files with 176 additions and 21 deletions
@@ -66,7 +66,7 @@
function onHttpError(event, response) {
var message;
if (response.data && response.data.message)
if (response.data && response.data.message && angular.isString(response.data.message))
message = response.data.message;
else if (response.status)
message = response.statusText;
@@ -85,7 +85,7 @@
position: 'top right'
});
else
console.debug('untrap error');
$log.debug('untrap error');
}
// Listen to HTTP errors broadcasted from HTTP interceptor