From: Jonny Tischbein Date: Mon, 29 Oct 2018 22:28:20 +0000 (+0100) Subject: Enables error messages for files too X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4d2f78233ea2a306244e2023061a711536e801a;p=friendica.git Enables error messages for files too --- diff --git a/view/theme/frio/js/filebrowser.js b/view/theme/frio/js/filebrowser.js index ee0b985a61..40c0fbb744 100644 --- a/view/theme/frio/js/filebrowser.js +++ b/view/theme/frio/js/filebrowser.js @@ -176,10 +176,10 @@ var FileBrowser = { }, onComplete: function(file,response) { if (response['error'] != undefined) { - $(".fbrowser-content").show(); $(".error span").html(response['error']); $(".error").removeClass('hidden'); $(".fbrowser .profile-rotator-wrapper").hide(); + $(".fbrowser-content").show(); return; } @@ -210,6 +210,7 @@ var FileBrowser = { $(".error span").html(response['error']); $(".error").removeClass('hidden'); $('#profile-rotator').hide(); + $(".fbrowser-content").show(); return; }