mirror of
https://github.com/nextcloud/server.git
synced 2026-03-09 01:40:53 -04:00
Contactsmenu popover: show proper message when server throws error
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
8f404c1f56
commit
4d60aff6ec
1 changed files with 8 additions and 2 deletions
|
|
@ -78,9 +78,15 @@
|
|||
if (actions.length === 0) {
|
||||
|
||||
}
|
||||
}, function() {
|
||||
$list.find('ul').find('li').addClass('hidden');
|
||||
|
||||
var template = Handlebars.compile(ENTRY);
|
||||
$list.find('ul').append(template({
|
||||
hyperlink: '#',
|
||||
title: t('core', 'Error fetching contact actions')
|
||||
}));
|
||||
});
|
||||
}).catch(function(reason) {
|
||||
// TODO
|
||||
});
|
||||
|
||||
$(document).click(function(event) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue