From f4d2f78233ea2a306244e2023061a711536e801a Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Mon, 29 Oct 2018 23:28:20 +0100 Subject: [PATCH] Enables error messages for files too --- view/theme/frio/js/filebrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5