mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
more robust share dialog
This commit is contained in:
parent
077ab27281
commit
473d3e14c8
@ -499,6 +499,10 @@ OC.Share={
|
||||
} else {
|
||||
response();
|
||||
}
|
||||
}).fail(function(){
|
||||
$('#dropdown').find('.shareWithLoading').addClass('hidden');
|
||||
OC.Notification.show(t('core', 'An error occured. Please try again'));
|
||||
window.setTimeout(OC.Notification.hide, 5000);
|
||||
});
|
||||
},
|
||||
focus: function(event, focused) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user