Skip to content
Snippets Groups Projects
Commit 1e79cc00 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #19757 from owncloud/remove-empty-box-during-update

[update] show default error message if empty message
parents 6a074061 2f9f9636
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@
hasWarnings = true;
});
updateEventSource.listen('error', function(message) {
message = message || t('core', 'An error occurred.');
$('<span>').addClass('error').append(message).append('<br />').appendTo($el);
message = t('core', 'Please reload the page.');
$('<span>').addClass('error').append(message).append('<br />').appendTo($el);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment