mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-31 03:07:17 +00:00
Handle attendee conflicts in the Web interface
See @d7b010
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user